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

Unified Diff: modules/filterserver/files/site.conf

Issue 29831567: #12255 - Serve compliance lists to extensions in China (Closed)
Patch Set: For comment #2 Created July 16, 2018, 4 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/filterserver/files/site.conf
===================================================================
--- a/modules/filterserver/files/site.conf
+++ b/modules/filterserver/files/site.conf
@@ -60,6 +60,12 @@
set $use_alternative_resource_flags "${use_alternative_resource_flags}+MIN";
}
+# http://hub.eyeo.com/issues/12255
+if ($arg_addonName ~ ^(adblockplus[chrome|firefox|edge|opera])$)
+{
+ set $use_alternative_resource_flags "ABP_WEB_EXTENSION";
+}
+
### http://hub.eyeo.com/issues/3924 for Chinese SBrowser video exceptions (1/4)
if ($arg_application = "sbrowser")
{
@@ -118,8 +124,9 @@
rewrite ^/ruadlist\+easylist\.(.+) /ruadlist+easylist-minified.$1 break;
}
+# http://hub.eyeo.com/issues/12255
### http://hub.eyeo.com/issues/3924 for Chinese SBrowser video exceptions (4/4)
-if ($use_alternative_resource_flags = "SBROWSER+ABPSBROWSER+CN")
+if ($use_alternative_resource_flags ~ ^((SBROWSER\+ABPSBROWSER|ABP_WEB_EXTENSION)\+CN)$)
{
rewrite ^/easylistchina\+easylist\.(.+) /easylistchina+easylistchina_compliance+easylist.$1 break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld