Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: modules/filterserver/files/site.conf

Issue 29419604: Noissue - Do not redirect modern ABB versions to noelemhide filters (Closed) Base URL: https://hg1/infrastructure
Left Patch Set: move check down to where it makes sense Created April 21, 2017, 1:43 p.m.
Right Patch Set: improve regexp Created April 21, 2017, 3:14 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 root /var/www/easylist; 1 root /var/www/easylist;
2 keepalive_timeout 0; 2 keepalive_timeout 0;
3 charset utf-8; 3 charset utf-8;
4 gzip_static on; 4 gzip_static on;
5 default_type text/plain; 5 default_type text/plain;
6 6
7 # http://hub.eyeo.com/issues/262 7 # http://hub.eyeo.com/issues/262
8 location /filters/easylist-min.txt 8 location /filters/easylist-min.txt
9 { 9 {
10 proxy_cache filters; 10 proxy_cache filters;
(...skipping 19 matching lines...) Expand all
30 { 30 {
31 set $use_alternative_resource_flags "IE"; 31 set $use_alternative_resource_flags "IE";
32 } 32 }
33 33
34 if ($arg_application ~ ^(yowser|adblockbrowser)$) 34 if ($arg_application ~ ^(yowser|adblockbrowser)$)
35 { 35 {
36 set $use_alternative_resource_flags "BROWSER"; 36 set $use_alternative_resource_flags "BROWSER";
37 } 37 }
38 38
39 ### http://hub.eyeo.com/issues/735 Hack for ABB development build that supports elemhide: 39 ### http://hub.eyeo.com/issues/735 Hack for ABB development build that supports elemhide:
40 if ($arg_addonVersion ~ ^(2\.)(7|8|9)($|\.).*$) 40 if ($arg_addonVersion ~ ^2\.(7|8|9)(\..*)?$)
mathias 2017/04/21 14:54:26 Why is the major version in a capture group? And c
41 { 41 {
42 set $use_alternative_resource_flags "${use_alternative_resource_flags}+SUPPORT S_ELEMHIDE"; 42 set $use_alternative_resource_flags "${use_alternative_resource_flags}+SUPPORT S_ELEMHIDE";
43 } 43 }
44 44
45 if ($arg_addonName = "libadblockplus-android") 45 if ($arg_addonName = "libadblockplus-android")
46 { 46 {
47 set $use_alternative_resource_flags "ZTE"; 47 set $use_alternative_resource_flags "ZTE";
48 } 48 }
49 49
50 if ($geoip_country_code = "DE") 50 if ($geoip_country_code = "DE")
(...skipping 13 matching lines...) Expand all
64 rewrite ^/easylist\.(.+) /easylist_noelemhide.$1 break; 64 rewrite ^/easylist\.(.+) /easylist_noelemhide.$1 break;
65 rewrite ^/easylistgermany\+easylist\.(.+) /easylistgermany_noelemhide+easylist _noelemhide.$1 break; 65 rewrite ^/easylistgermany\+easylist\.(.+) /easylistgermany_noelemhide+easylist _noelemhide.$1 break;
66 rewrite ^/easylistgermany\.(.+) /easylistgermany_noelemhide.$1 break; 66 rewrite ^/easylistgermany\.(.+) /easylistgermany_noelemhide.$1 break;
67 } 67 }
68 68
69 if ($use_alternative_resource_flags = "ZTE") 69 if ($use_alternative_resource_flags = "ZTE")
70 { 70 {
71 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; 71 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break;
72 } 72 }
73 73
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld