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

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

Issue 4851712741343232: Issue 1451 - Redirect Android devbuild update requests for versions that crash when detecting an up… (Closed)
Patch Set: Check $arg_addonVersion Created Sept. 29, 2014, 11:48 a.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/downloadserver/files/site.conf
===================================================================
--- a/modules/downloadserver/files/site.conf
+++ b/modules/downloadserver/files/site.conf
@@ -20,5 +20,13 @@
location /devbuilds
{
+ # This is necessary since ABP for Android revisions 323 to 337 crash when
+ # detecting an update. Fortunately, we repeated the revision in addonVersion
+ # in these versions for some reason, so we can use that pattern to detect
+ # them.
+ if ($arg_addonVersion ~ "^1\.2\.1\.3\d\d\.3\d\d$")
+ {
+ return 200 '{}';
+ }
alias /var/www/devbuilds;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld