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

Issue 29332588: Issue 3403 - Add web redirect for the uninstallation page (Closed)

Created:
Dec. 13, 2015, 5:22 p.m. by kzar
Modified:
Dec. 15, 2015, 11:50 a.m.
Reviewers:
Felix Dahlke
CC:
mathias, Sebastian Noack
Visibility:
Public.

Description

Issue 3403 - Add web redirect for the uninstallation page

Patch Set 1 #

Total comments: 6

Patch Set 2 : Renamed uninstall-abp uninstalled, added comment #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M modules/web/templates/adblockplus.org.conf.erb View 1 2 chunks +9 lines, -0 lines 5 comments Download

Messages

Total messages: 10
kzar
Patch Set 1 (This is the last blocker for getting the uninstallation page to be ...
Dec. 13, 2015, 5:25 p.m. (2015-12-13 17:25:40 UTC) #1
Felix Dahlke
https://codereview.adblockplus.org/29332588/diff/29332589/modules/web/templates/adblockplus.org.conf.erb File modules/web/templates/adblockplus.org.conf.erb (right): https://codereview.adblockplus.org/29332588/diff/29332589/modules/web/templates/adblockplus.org.conf.erb#newcode174 modules/web/templates/adblockplus.org.conf.erb:174: if ($arg_link ~ "uninstalled") Since you're not matching a ...
Dec. 14, 2015, 10:23 a.m. (2015-12-14 10:23:26 UTC) #2
kzar
Patch Set 2 : Renamed uninstall-abp uninstalled, added comment https://codereview.adblockplus.org/29332588/diff/29332589/modules/web/templates/adblockplus.org.conf.erb File modules/web/templates/adblockplus.org.conf.erb (right): https://codereview.adblockplus.org/29332588/diff/29332589/modules/web/templates/adblockplus.org.conf.erb#newcode174 modules/web/templates/adblockplus.org.conf.erb:174: ...
Dec. 14, 2015, 10:45 a.m. (2015-12-14 10:45:49 UTC) #3
Felix Dahlke
LGTM. Note that this is infrastructure, I've moved Sebastian to CC and added Matze. https://codereview.adblockplus.org/29332588/diff/29332589/modules/web/templates/adblockplus.org.conf.erb ...
Dec. 14, 2015, 11:21 a.m. (2015-12-14 11:21:17 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb File modules/web/templates/adblockplus.org.conf.erb (right): https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb#newcode249 modules/web/templates/adblockplus.org.conf.erb:249: # For the uninstallation page we need to preserve ...
Dec. 14, 2015, 12:38 p.m. (2015-12-14 12:38:37 UTC) #5
kzar
https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb File modules/web/templates/adblockplus.org.conf.erb (right): https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb#newcode249 modules/web/templates/adblockplus.org.conf.erb:249: # For the uninstallation page we need to preserve ...
Dec. 14, 2015, 12:44 p.m. (2015-12-14 12:44:11 UTC) #6
Felix Dahlke
https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb File modules/web/templates/adblockplus.org.conf.erb (right): https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb#newcode249 modules/web/templates/adblockplus.org.conf.erb:249: # For the uninstallation page we need to preserve ...
Dec. 14, 2015, 12:49 p.m. (2015-12-14 12:49:11 UTC) #7
kzar
https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb File modules/web/templates/adblockplus.org.conf.erb (right): https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb#newcode249 modules/web/templates/adblockplus.org.conf.erb:249: # For the uninstallation page we need to preserve ...
Dec. 14, 2015, 12:59 p.m. (2015-12-14 12:59:12 UTC) #8
Sebastian Noack
https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb File modules/web/templates/adblockplus.org.conf.erb (right): https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templates/adblockplus.org.conf.erb#newcode249 modules/web/templates/adblockplus.org.conf.erb:249: # For the uninstallation page we need to preserve ...
Dec. 14, 2015, 1:17 p.m. (2015-12-14 13:17:26 UTC) #9
Felix Dahlke
Dec. 14, 2015, 1:21 p.m. (2015-12-14 13:21:44 UTC) #10
On 2015/12/14 13:17:26, Sebastian Noack wrote:
>
https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templat...
> File modules/web/templates/adblockplus.org.conf.erb (right):
> 
>
https://codereview.adblockplus.org/29332588/diff/29332593/modules/web/templat...
> modules/web/templates/adblockplus.org.conf.erb:249: # For the uninstallation
> page we need to preserve the query parameters
> On 2015/12/14 12:59:12, kzar wrote:
> > On 2015/12/14 12:49:10, Felix Dahlke wrote:
> > > On 2015/12/14 12:38:37, Sebastian Noack wrote:
> > > > We probably should strip the "link" parameter. Any way to do that?
> > > 
> > > I thought about this as well, but AFAIK there's no really simple way to do
> it.
> > I
> > > see two options:
> > > 
> > > 1. We capture all args after "link" in the rewrite, then add `?` to the
> target
> > > again and append the captured args after that. It's not gonna work if link
> is
> > > not the first parameter, but that should be fine.
> > > 
> > > 2. We add the `?` back and list all the args we want explicitly using the
> > > `$arg_` variables.
> > > 
> > > I'm not sure it's worth the trouble though.
> > 
> > My vote is to leave it as-is, it's simple and it works. It would be a shame
to
> > miss getting the uninstall page launched this quater because of a single
> > redundant parameter.
> 
> Well, this certainly isn't something that would delay the launch. We wouldn't
> have a release before Jan 5 anyway, there are still some issues with the
> uninstallation page itself that needs to be fixed first, and the possible
> solutions here aren't to complicated after all. But yeah, they aren't too
great
> either, but IMO also not worse than not stripping the link parameter.

I don't have a strong opinion, but I'd prefer to land this as it is and to file
a follow-up issue for removing the link parameter from the URL. Once Matze is
back, he might have a better idea than those I had.

Powered by Google App Engine
This is Rietveld