-
Notifications
You must be signed in to change notification settings - Fork 87
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
Forward query string when redirecting from /git-pull/ endpoint #303
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
I'd like to review and help this PR, but I'm not confident on the situation you look to resolve based on the PR description. Can you describe example links where nbgitpullers behavior will changed with this PR? |
Old / does not work with 3rd party cookies disabled: New / based on this PR |
Would you say this is primarily a mybinder.org issue that could affect other applications/extensions? Can you open your browser debug/log console, and show us all the network requests and logs for a failing redirect? |
I'm having some trouble generating working example links here because the link generator is still broken for me. For me, the link generator is still not working. See also: #297 |
Hi! Were either of you able to replicate from my description? |
I've resolved conflicts now. Please let me know if anything is unclear with this PR. |
I still can't reproduce the error reported in #290 https://mybinder.org/v2/gist/manics/7e82eefd3a72c3480af8752f5978490c/master?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252Foctocat%252FHello-World%26urlpath%3Dtree%252FHello-World%252F%26branch%3Dmaster |
Well I'm not working on this anymore so I can't say exactly what went wrong. No problem if it works for you and you don't want to pass the token query string through redirects along and rely on the cookie. Maybe someone will be able to post a replicable bug later on. |
Fixes: #290
I've been having trouble with the redirect on BinderHub when 3rd party cookies are disabled. This fowards the
token
query string argument which seems to fix the issue.