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

Fix the redirect from mobile to desktop #4490

Merged
merged 1 commit into from
Jan 11, 2019
Merged

Fix the redirect from mobile to desktop #4490

merged 1 commit into from
Jan 11, 2019

Conversation

sbrunner
Copy link
Member

No description provided.

@sbrunner sbrunner added this to the 2.3 milestone Jan 11, 2019
@sbrunner sbrunner requested a review from fredj January 11, 2019 11:03
@sbrunner
Copy link
Member Author

Fix: https://jira.camptocamp.com/browse/GSGMF-759

@sbrunner sbrunner merged commit 55a633f into 2.3 Jan 11, 2019
@sbrunner sbrunner deleted the fix-redirect branch January 11, 2019 13:39
Copy link
Member

@arnaud-morvan arnaud-morvan left a comment

Choose a reason for hiding this comment

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

Seems that this will not fix the problem

no_redirect_url = request.route_url(
interface_config['redirect_interface'],
_query=no_redirect_query
)
url = request.route_url(
interface_config['redirect_interface'],
_query=no_redirect_query
Copy link
Member

Choose a reason for hiding this comment

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

What is the difference between no_redirect_url and url ?
Maybe I miss something, but I do not see it.
As I see, at this point : no_redirect_url === url

Copy link
Member Author

Choose a reason for hiding this comment

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

no_redirect_url shoudb have the param no_redirect=t... => my PR is incorrect :-(

Copy link
Member Author

Choose a reason for hiding this comment

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

See #4492

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.

3 participants