MDL-32849 add support for url rewriting in min_get_slash_argument() and combo loader

This helps especially IIS servers using ^([^\?]+?\.php)(\/.+)$ rewrite rule.
This commit is contained in:
Petr Skoda
2012-05-08 20:11:44 +02:00
parent f7ae27e887
commit 18ac11b730
5 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ if ($slashargument = min_get_slash_argument()) {
} else {
$rev = min_optional_param('rev', 0, 'INT');
$file = min_optional_param('file', '', 'RAW');
$file = min_optional_param('jsfile', '', 'RAW'); // 'file' would collide with URL rewriting!
}
// some security first - pick only files with .js extension in dirroot