-
Notifications
You must be signed in to change notification settings - Fork 16
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 double slash when uploading a file #2106
Conversation
Your Render PR Server URL is https://chainsafe-components-stage-pr-2106.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c9f98oj19n037fqqlfjg. |
Your Render PR Server URL is https://files-ui-stage-pr-2106.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c9f98pb19n037fqqlfo0. |
Your Render PR Server URL is https://storage-ui-stage-pr-2106.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c9f98qb19n037fqqlg9g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working well. Makes more sense now that we have figured out the root cause 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was definitely discussions around the double slash before.
Working well here.
@Tbaut nice work on pinpointing the true cause of this! Great to get it fixed 🔥 |
I feel we've seen this issue before, reported by Andrew. As I was debugging something else, I found out why it happens.
How to reproduce:
//some dir/some-file
with a double slashThis should fix it.
@asnaith although I think this is a pretty safe change IMHO, this helper function is used a lot, and it is potentially breaking things. I've spent quite some time to test things, it's used in the preview overview, move files, create directories etc..