Issue 3273: Permalink redirection after login leads to "not found" page
Status:  Duplicate
Merged:  issue 3044
Owner: ----
Closed:  Apr 2015
Project Member Reported by dougk....@gmail.com, Apr 1, 2015
Affected Version: 2.10 - 2.10.2

What steps will reproduce the problem?
1. Start a clean browser session (such as incognito mode)
2. Visit a change permalink
3. Enter login credentials

What is the expected output? What do you see instead?
I would expect to be redirected to the change (this works as of 2.9.1), but instead, I'm redirected to a page which doesn't exist.  One noticeable thing is the # in the normal address is removed, that is:
https://gerrit/code-review/272771 should redirect to https://gerrit/code-review/#/c/272771 but instead I just see https:/gerrit/code-review/c/272771.

Please provide any additional information below.
This is using a configuration with HTTP_LDAP and permissions configured set such that only logged-in users can see any changes/projects.
Apr 2, 2015
Project Member #1 huga...@gmail.com
Hi Doug,

Can you give me the url when you get redirected to the login form? 

it should end with /login/%23%2Fc%2F272771%2F

I fixed redirection issues a little while ago but I did not have a HTTP or HTTP_LDAP setup so I could not fix those auth types.
Apr 2, 2015
Project Member #2 huga...@gmail.com
I think you have the same problem as reported in another issue. See my comment (number 10) to see how you could possibly fix this:https://code.google.com/p/gerrit/issues/detail?id=3044#c10
Apr 2, 2015
Project Member #3 dougk....@gmail.com
Ah yes.  So it is.  Comment 6 of #3044 describes it pretty well... I can give that a try on our test site, but feel free to merge this bug into 3044.
Apr 6, 2015
Project Member #4 huga...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 3044