-
Notifications
You must be signed in to change notification settings - Fork 1
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
Handle paths with percent encoding #32
Comments
Hmm I thought this would have been fixed with a905085 are you running the release past that commit? |
We are not using a lambda deployment. I do see a decodeURI call in server.js as well. I'll investigate further to check why the S3 key does not match. |
The path in question had an '@' character that was encoded as %40 by Wordpress. decodeURI does not unescape this, decodeURIComponent does. |
Fixed issue: humanmade/tachyon#32 Used decodeURIComponent instead of decodeURI to handle encoding of characters like '@' which are not decoded by decodeURI.
We're hitting this on humanmade.com with some stuff. |
I think this one is fully resolved now. Not seen it happen or any reports of it for some time. We can reopen if that’s not the case |
When Tachyon gets paths with percent encoding, it looks up the S3 bucket without converting encoded characters. They key with the percent encoding is not found in the bucket.
Tachyon should decode the path before looking up S3.
The text was updated successfully, but these errors were encountered: