Project

General

Profile

« Previous | Next » 

Revision 13682

web/.htaccess: auto-detect dotpath: removed handling of no longer used @ prefix (used to be used by username-based prefix subpaths)

View differences:

.htaccess
21 21
RewriteCond %{QUERY_STRING} ^[^=]*(?:[.&]|$)
22 22
	# . or & before any =
23 23
RewriteCond %{QUERY_STRING} ^.*$
24
RewriteRule ^.*$ $0?%1.%2 [discardpath,noescape]
24
RewriteRule ^.*$ $0?.%0 [discardpath,noescape]
25 25
# otherwise, prepend & to force a query param
26 26
RewriteCond %{QUERY_STRING} ^(?![.&]).+$
27 27
	# [.&] not already prepended and non-empty

Also available in: Unified diff