Project

General

Profile

« Previous | Next » 

Revision 10669

bugfix: web/.htaccess: auto-detect dotpath in query string: added missing $ at end of regexp

View differences:

.htaccess
39 39

  
40 40
# auto-detect dotpath in query string (having a . before any = )
41 41
# you can prepend . to force a dotpath, or & to force a query param
42
RewriteCond %{QUERY_STRING} ^(?!\.)[^&]+
42
RewriteCond %{QUERY_STRING} ^(?!\.)[^&]+$
43 43
RewriteCond %0 ^[^=]*(?:\.|$)
44 44
RewriteRule ^ ?.%{QUERY_STRING} [discardpath,noescape]
45 45

  

Also available in: Unified diff