New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging out with ckan on non-root URL redirects to the wrong URL. #1025
Conversation
loging out should not care about |
@kindly this is now assigned to you as @nigelbabu nigel was not confident about reviewing it. Let me know if you want and I can do #1039 as part of this pr |
@kindly I've added the change - is this good enough? |
@ tobes the problem is that any came_from we generate is always absolute so this will never work. |
But I think we always add the came_from ourselves - I can add logic for //ckan_domain/... if you want but in testing all was good - let me know |
It my test going to: So this seems like it is an issue. |
Is this better :) works for me |
@kindly you need anything from me for this? |
Conflicts: ckan/controllers/user.py ckan/lib/repoze_patch.py
When running ckan on a non-root URL, clicking on logout ends up in a redirect which does not take the api_url into consideration.