Revision 8501
Added by Aaron Marcuse-Kubitza almost 12 years ago
.htaccess | ||
---|---|---|
43 | 43 |
RewriteCond %0 ^[^=]*(?:\.|$) |
44 | 44 |
RewriteRule ^ ?.%{QUERY_STRING} [discardpath,noescape] |
45 | 45 |
|
46 |
# parse dotpath in query string (having a . before any = ) |
|
47 |
# you can prepend . to force a dotpath, or & to force a query param |
|
46 |
# parse dotpath in query string |
|
48 | 47 |
RewriteRule ^dotpath - [discardpath,noescape,last,qsappend] |
49 |
RewriteCond %{QUERY_STRING} ^[^&]+ |
|
50 |
RewriteCond %0 ^[^=]*(?:\.|$) |
|
48 |
RewriteCond %{QUERY_STRING} ^\. |
|
51 | 49 |
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$ |
52 | 50 |
RewriteRule ^.*$ /dotpath%1 [discardpath,noescape,last,qsappend] |
53 | 51 |
|
Also available in: Unified diff
web/.htaccess: parse dotpath in query string: removed dotpath auto-detection code because this is now handled by a separate RewriteRule