Skip to content
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

utils: fixes missing args from redirect target #186

Merged
merged 1 commit into from
Feb 26, 2019

Conversation

Glignos
Copy link
Member

@Glignos Glignos commented Feb 26, 2019

No description provided.

@Glignos Glignos force-pushed the add_args_in_redirect branch 3 times, most recently from 435b1a1 to 5fa6965 Compare February 26, 2019 16:33
Copy link
Contributor

@ntarocco ntarocco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for fixing!

@@ -157,7 +157,11 @@ def get_safe_redirect_target(arg='next'):
if redirect_uri.host in allowed_hosts:
return target
elif redirect_uri.path:
return redirect_uri.path
return uricompose(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice this uricompose, I have learnt something! :)
👍

@slint slint merged commit 2500dc6 into inveniosoftware:master Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants