| Index: modules/adblockplusorg/files/adblockplus.org |
| =================================================================== |
| --- a/modules/adblockplusorg/files/adblockplus.org |
| +++ b/modules/adblockplusorg/files/adblockplus.org |
| @@ -43,7 +43,7 @@ |
| } |
| set $static_uri $uri; |
| - if ($uri ~ ^/(\w\w(_\w\w)?)/(firefox|chrome|opera|android)) { |
| + if ($uri ~ ^/(\w\w(_\w\w)?)/(firefox|chrome|opera|android)/?$) { |
| set $static_uri "/$1/"; |
| set $browser $3; |
| } |
| @@ -59,7 +59,7 @@ |
| rewrite ^ /static$static_uri?browser=$browser last; |
| } |
| - rewrite ^/(\w\w(_\w\w)?)/(firefox|chrome|opera|android) /index.php?p=$1&browser=$3 last; |
| + rewrite ^/(\w\w(_\w\w)?)/(firefox|chrome|opera|android)/?$ /index.php?p=$1&browser=$3 last; |
| rewrite ^/(.*) /index.php?p=$1 last; |
| } |