Closed
Bug 377552
Opened 19 years ago
Closed 18 years ago
Logging in takes you to https://addons.mozilla.org/en-US/firefox/ instead of keeping you at the same page
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
3.2
People
(Reporter: standsongrace, Assigned: clouserw)
Details
Attachments
(1 file)
|
3.23 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier:
When you login, you are annoyingly sent to https://addons.mozilla.org/en-US/firefox/. Usually the user would want and expect to stay at the same page.
Reproducible: Always
Comment 1•19 years ago
|
||
I expect this to be a caching issue: I remember writing the code to keep you on the same page when you log in, based on the referer.
Maybe we should add the ?to= variable to the link in the top right corner automatically on every page.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•19 years ago
|
||
What page did you login on?
| Reporter | ||
Comment 3•19 years ago
|
||
Any add-on page (https://addons.mozilla.org/en-US/firefox/addon/*) will do this.
Updated•19 years ago
|
Target Milestone: --- → 3.x (triaged)
Updated•19 years ago
|
Target Milestone: 3.x (triaged) → 3.2
| Assignee | ||
Comment 5•18 years ago
|
||
Wenzel's idea in comment 1 seemed like the easiest way to implement this.
Attachment #291779 -
Flags: review?(laura)
Comment 6•18 years ago
|
||
Why do you not check for a redirect loop anymore? Is that case caught anywhere else?
| Assignee | ||
Comment 7•18 years ago
|
||
(In reply to comment #6)
> Why do you not check for a redirect loop anymore? Is that case caught anywhere
> else?
>
preg_match("/(:\/\/|developers|editors|localizers|admin|users|\r|\n)/" will catch a redirect loop back to the login page. Are there other loops?
Comment 8•18 years ago
|
||
Ah, there's "users" in there. I must have overseen that. Apart from that, the patch looks fine to me.
Comment 9•18 years ago
|
||
(In reply to comment #8)
> Ah, there's "users" in there. I must have overseen that. Apart from that, the
> patch looks fine to me.
And instead of the Germanism "overseen" I meant "overlooked" of course ;)
Comment 10•18 years ago
|
||
Comment on attachment 291779 [details] [diff] [review]
Add "to" variable to login/logout links
works for me
Attachment #291779 -
Flags: review?(laura) → review+
| Assignee | ||
Comment 11•18 years ago
|
||
landed in r8749. thanks
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•18 years ago
|
Keywords: push-needed
Updated•18 years ago
|
Keywords: push-needed
I tested this, and logging in at https://addons.mozilla.org/en-US/firefox/addons/policy/0/5547/18615 returned me there after the interstitial login page: https://addons.mozilla.org/en-US/firefox/users/login?to=en-US/firefox/addons/policy/0/5547/18615
Verified FIXED
Status: RESOLVED → VERIFIED
Comment 13•18 years ago
|
||
It doesn' work for me yet. If I'm logged out and go to https://addons.mozilla.org/de/firefox/developers, I'm immidiately forwarded to https://addons.mozilla.org/de/firefox/users/login?to=%2Fdevelopers, which is what I expect. But then, I'm redirected to https://addons.mozilla.org/de/firefox/, instead of being redirected to https://addons.mozilla.org/de/firefox/developers, where I wanted to go initially.
If this is, in fact, a different bug, I can open another one, if you want?
| Assignee | ||
Comment 14•18 years ago
|
||
(In reply to comment #13)
> It doesn' work for me yet. If I'm logged out and go to
> https://addons.mozilla.org/de/firefox/developers, I'm immidiately forwarded to
> https://addons.mozilla.org/de/firefox/users/login?to=%2Fdevelopers, which is
> what I expect. But then, I'm redirected to
> https://addons.mozilla.org/de/firefox/, instead of being redirected to
> https://addons.mozilla.org/de/firefox/developers, where I wanted to go
> initially.
>
> If this is, in fact, a different bug, I can open another one, if you want?
>
That's bug 408984
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•