Project

General

Profile

« Previous | Next » 

Revision 13661

web/.phpPgAdmin/.htaccess: action redirect: only append ? if adding to the query string

View differences:

trunk/web/.phpPgAdmin/.htaccess
41 41
RewriteRule ^$ %{ENV:base_url}/%{ENV:page}.php%1 [chain,discardpath,noescape,qsappend,redirect]
42 42
# append action
43 43
RewriteCond %{ENV:action} ="" [ornext]
44
RewriteCond action=%{ENV:action} ^(.*)$
45
RewriteRule ^.*$ $0?%1 [discardpath,noescape,qsappend,redirect]
44
RewriteCond ?action=%{ENV:action} ^(.*)$
45
RewriteRule ^.*$ $0%1 [discardpath,noescape,qsappend,redirect]
46 46

  
47 47
## for internal URLs
48 48

  

Also available in: Unified diff