Project

General

Profile

« Previous | Next » 

Revision 8410

web/**/.htaccess: internal redirects: Use ?&$0 instead of just ?$0 to prevent the query string from being reinterpreted as a dotpath by the destination dir

View differences:

.htaccess
16 16

  
17 17
# dir without trailing / is provided as an absolute filesystem path
18 18
RewriteCond $0 ^/ [ornext]
19
RewriteCond ?$0 ^(.*)$
19
RewriteCond ?&$0 ^(.*)$
20 20
RewriteRule ^.+$ /wiki/CTFS%1#Tables [discardpath,noescape,last,redirect]

Also available in: Unified diff