-
Notifications
You must be signed in to change notification settings - Fork 26
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: Bump YARL dependency to retain trailing slashes in URLs #267
base: main
Are you sure you want to change the base?
Conversation
fix: Bump YARL version to retain trailing slash on URLs
@betodealmeida would appreciate a review on this, many thanks |
Hey @oliverlambson, thanks for submitting these changes! I'm afraid that due to license restrictions, we're currently not able to accept/merge contributions from outside of Preset. I'll take a look on this scenario and see if we can address this issue. Thanks! |
Thanks! |
Hey @oliverlambson, Our team has been working to implement this CLA that allows us to accept external contributions to the CLI -- thank you for singing it 🙌 I was performing some tests around this flow, and I couldn't reproduce the issue in the first place. I'm not opinionated against the proposed fix, but I was wondering if I could reproduce to check if we could add test coverage to prevent any regression in the future. This is how I tried to reproduce it:
superset-cli --loglevel=DEBUG -u admin -p admin http://localhost:8088 export-assets --chart-ids=101 . --overwrite
WTF_CSRF_ENABLED = False
SESSION_COOKIE_SAMESITE = None
I also tried using Do you have any specific steps I could follow to repro it? Do you know if this could be related with your CSP/Talisman config? |
As per #244, the superset-cli command appears to be incompatible with Superset >=3.0.0
In running superset-cli with loglevel=debug, this seems to be to due redirects causing some weirdness with the Auth header. See my post on that issue for the logs: #244 (comment).
The redirects occur because yarl <1.9.4 drops trailing slashes (see aio-libs/yarl#862 and aio-libs/yarl#866), which means the generated request URLs do not exactly match the Superset API docs