mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Decode pathinfo in case it has encoded spaces etc in it
This commit is contained in:
parent
e6073312c2
commit
ae67d9cd40
1 changed files with 2 additions and 0 deletions
2
file.php
2
file.php
|
@ -17,6 +17,8 @@
|
|||
error("No file parameters!");
|
||||
}
|
||||
|
||||
$pathinfo = urldecode($pathinfo);
|
||||
|
||||
if (! $args = parse_slash_arguments($pathinfo)) {
|
||||
error("No valid arguments supplied");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue