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

Unified Diff: modules/adblockplus/templates/web/redirector.conf.erb

Issue 29482656: #1653 - Redirect ABP/ABB campaign links via eyeo.to (Closed)
Patch Set: Created July 7, 2017, 2:09 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 | « hiera/roles/web/redirect/adblockplus.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/templates/web/redirector.conf.erb
diff --git a/modules/adblockplus/templates/web/redirector.conf.erb b/modules/adblockplus/templates/web/redirector.conf.erb
index 245876d17450b60407f1c22c8b341456af895d3d..a1f88bb79d5d103fd54a69aa6d8fc76f700512b6 100644
--- a/modules/adblockplus/templates/web/redirector.conf.erb
+++ b/modules/adblockplus/templates/web/redirector.conf.erb
@@ -6,6 +6,6 @@ location /
<%- @targets.sort.each do |key, target| -%>
rewrite ^/<%= key %>(/.*)?$ "<%= target %>" break;
<%- end -%>
- rewrite ^/.*$ "<%= @default %>" last;
+ rewrite ^(/.*)$ "<%= @default %>" last;
}
« no previous file with comments | « hiera/roles/web/redirect/adblockplus.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld