@@ -36,21 +36,21 @@ RewriteRule ^courses/([^/]+)/scorm/(.*)$ main/document/download_scorm.php?doc_ur
36
36
RewriteRule ^courses/([^/]+)/document/certificates/(.*)$ app/courses/$1/document/certificates/$2 [QSA,L]
37
37
# Note : since version 2.4.38-3 of Apache a security fix had a side effect that made redirection with space not to work.
38
38
# To fix this issue we did not have a common syntaxis but it work with one of those 2 options :
39
- # changing at the end of the following line [QSA,L] for [QSA,L,B=\x20?] or for "[QSA,L,B= ?,BNP]"
39
+ # changing at the end of the following line [QSA,L] for [QSA,L,B=\x20?] or for "[QSA,L,B= ?,BNP]" (with the quotes)
40
40
RewriteRule ^courses/([^/]+)/document/(.*)$ main/document/download.php?doc_url=/$2&cDir=$1 [QSA,L]
41
41
42
42
# Optimize load of custom per-course icons in courses (avoid download_uploaded_files.php)
43
43
RewriteRule ^courses/([^/]+)/upload/course_home_icons/(.*([\.js|\.css|\.png|\.jpg|\.jpeg|\.gif]))$ app/courses/$1/upload/course_home_icons/$2 [QSA,L]
44
44
# Course upload files
45
45
# Note : since version 2.4.38-3 of Apache a security fix had a side effect that made redirection with space not to work.
46
46
# To fix this issue we did not have a common syntaxis but it work with one of those 2 options :
47
- # changing at the end of the following line [QSA,L] for [QSA,L,B=\x20?] or for "[QSA,L,B= ?,BNP]"
47
+ # changing at the end of the following line [QSA,L] for [QSA,L,B=\x20?] or for "[QSA,L,B= ?,BNP]" (with the quotes)
48
48
RewriteRule ^courses/([^/]+)/upload/([^/]+)/(.*)$ main/document/download_uploaded_files.php?code=$1&type=$2&file=$3 [QSA,L]
49
49
50
50
# Rewrite everything in the work folder
51
51
# Note : since version 2.4.38-3 of Apache a security fix had a side effect that made redirection with space not to work.
52
52
# To fix this issue we did not have a common syntaxis but it work with one of those 2 options :
53
- # changing at the end of the following line [QSA,L] for [QSA,L,B=\x20?] or for "[QSA,L,B= ?,BNP]"
53
+ # changing at the end of the following line [QSA,L] for [QSA,L,B=\x20?] or for "[QSA,L,B= ?,BNP]" (with the quotes)
54
54
RewriteRule ^courses/([^/]+)/work/(.*)$ main/work/download.php?file=work/$2&cDir=$1 [QSA,L]
55
55
56
56
RewriteRule ^courses/([^/]+)/course-pic85x85.png$ main/inc/ajax/course.ajax.php?a=get_course_image&code=$1&image=course_image_source [QSA,L]
@@ -89,7 +89,7 @@ RewriteRule ^lti/os$ plugin/ims_lti/outcome_service.php [L]
89
89
# Deny direct access to user my files
90
90
# Note : since version 2.4.38-3 of Apache a security fix had a side effect that made redirection with space not to work.
91
91
# To fix this issue we did not have a common syntaxis but it work with one of those 2 options :
92
- # changing at the end of the following line [QSA,L] for [QSA,L,B=\x20?] or for "[QSA,L,B= ?,BNP]"
92
+ # changing at the end of the following line [QSA,L] for [QSA,L,B=\x20?] or for "[QSA,L,B= ?,BNP]" (with the quotes)
93
93
RewriteRule ^app/upload/users/([^/]+)/([^/]+)/my_files/(.*)$ main/social/download_my_files.php?user_id=$2&file=$3 [QSA,L]
94
94
95
95
# Deny access
0 commit comments