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

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

Issue 29328965: Issue 2874 - Redirect Microsoft Edge users to coming soon landing page (Closed)
Patch Set: Created Oct. 8, 2015, 12:19 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/web/templates/adblockplus.org.conf.erb
===================================================================
--- a/modules/web/templates/adblockplus.org.conf.erb
+++ b/modules/web/templates/adblockplus.org.conf.erb
@@ -33,10 +33,6 @@
{
set $user_agent "internet-explorer";
}
-if ($http_user_agent ~ \bEdge/\d+)
-{
- set $user_agent "internet-explorer";
-}
if ($http_user_agent ~ \bPresto/\d+)
{
set $user_agent "opera";
@@ -49,6 +45,10 @@
{
set $user_agent "android";
}
+if ($http_user_agent ~ \bEdge/\d+)
+{
+ set $user_agent "edge";
+}
if ($http_user_agent ~ \bYaBrowser/\d+)
{
set $user_agent "yandex-browser";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld