]> git.mjollnir.org Git - moodle.git/commitdiff
Decode pathinfo in case it has encoded spaces etc in it
authormoodler <moodler>
Thu, 27 Nov 2003 17:23:36 +0000 (17:23 +0000)
committermoodler <moodler>
Thu, 27 Nov 2003 17:23:36 +0000 (17:23 +0000)
file.php

index ec4b6c246ef09d6dd39514f02f82d556266b99b5..97052b04e16fbdc490e9fdf72eda5776ad776f97 100644 (file)
--- a/file.php
+++ b/file.php
@@ -17,6 +17,8 @@
         error("No file parameters!");
     }
 
+    $pathinfo = urldecode($pathinfo);
+
     if (! $args = parse_slash_arguments($pathinfo)) {
         error("No valid arguments supplied");
     }