We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 199258e commit e7271c3Copy full SHA for e7271c3
1 file changed
src/Darya/View/Resolver.php
@@ -49,7 +49,7 @@ class Resolver {
49
* @return path
50
*/
51
public static function normalise($path) {
52
- return preg_replace('~[\\\|/]+~', '/', trim($path, '\/'));
+ return preg_replace('~[\\\|/]+~', '/', rtrim($path, '\/'));
53
}
54
55
/**
0 commit comments