Redirection after login doesn't pick up hash location in url

Description

Redirection after login doesn't pick up hash location in url.

1) Login in Zanata, navigate to GWT editor, copy the url of one of the textflow.
2) Logout. Paste the copied url in browser.

Zanata would redirect user to login page, after login user redirect to the editor but the url parameter in hash location is not there.

e.g url:
http://localhost:8080/zanata/webtrans/translate?project=abrt&iteration=master&localeId=sq&locale=en-US&dswid=-6424&dswid=9991#view:doc;doc:abrt

Environment

None

Activity

Show:
Alex Eng
June 22, 2016, 3:45 AM

Workaround: save the url of the editor, login into Zanata, then paste the url again in the browser.

Sean Flanigan
April 22, 2016, 1:37 AM

Okay, thanks. I don't suppose you noticed when the second dswid parameter was added? That's wrong too.

Alex Eng
April 22, 2016, 1:17 AM

For example: try to go this url withou login: http://localhost:8080/zanata/webtrans/translate?project=abrt&iteration=master&localeId=sq&locale=en-US&dswid=-6424&dswid=9991#view:doc;doc:abrt

The `#view:doc;doc:abrt` is removed after login redirection.

Sean Flanigan
April 22, 2016, 1:12 AM

Is that the actual URL after the redirect? What would be the expected URL?

Ready for Release
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Alex Eng

Reporter

Alex Eng

Labels

Tested Version/s

4.0.0-SNAPSHOT (20160704-0021) [git-jenkins-zanata-server-github-pull-requests-7237]