tsugi icon indicating copy to clipboard operation
tsugi copied to clipboard

Deal with the Apache 2.4.61 UnsafeAllow3F feature

Open csev opened this issue 1 year ago • 0 comments

Update url parsing and .htaccess to avoid upsetting Apache mod_rewrite

https://stackoverflow.com/questions/78729429/403-forbidden-when-url-contains-get-with-encoded-question-mark-unsafeallow3f

https://httpd.apache.org/docs/current/rewrite/flags.html#flag_unsafe_allow_3f

Example rules:

./lti/store/.htaccess:    RewriteRule ^sakai-config/(.*)$ sakai-config.php?guid=$1 [L,QSA]
./lti/store/.htaccess:    RewriteRule ^ims-config/(.*)$ ims-config.php?guid=$1 [L,QSA]
./lti/.htaccess:    RewriteRule ^oidc_login/(.*)$ oidc_login.php?guid=$1 [L,QSA]
./lti/.htaccess:    RewriteRule ^keyset/(.*)$ keyset.php?issuer_guid=$1 [L,QSA]

csev avatar Jul 22 '24 13:07 csev