Revision 13618
Added by Aaron Marcuse-Kubitza over 10 years ago
.htaccess | ||
---|---|---|
48 | 48 |
# auto-detect dotpath in query string (having a . before any = ) |
49 | 49 |
# you can prepend . to force a dotpath, or & to force a query param |
50 | 50 |
RewriteCond %{QUERY_STRING} ^(?!\.)[^&]+$ |
51 |
RewriteCond %0 ^[^=]*(?:\.|$)
|
|
51 |
RewriteCond %{QUERY_STRING} ^[^=]*(?:\.|$)
|
|
52 | 52 |
RewriteRule ^.*$ $0?.%{QUERY_STRING} [discardpath,noescape] |
53 | 53 |
|
54 | 54 |
## parse dotpath in query string |
Also available in: Unified diff
web/.htaccess: auto-detect dotpath in query string: use %{QUERY_STRING} instead of %0 for clarity