-
Notifications
You must be signed in to change notification settings - Fork 25
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
Reject non-ascii values in Manta Headers #395
Comments
Just to be clear we want to throw an exception since this effectively makes the object inaccessible right? The ticket description implies this could be fixed server-side by a node.js update but I presume we would want to entirely forbid people from getting themselves into this situation. |
Also, "Manta Headers" -> "Metadata" ? |
Yes, we want to forbid them. Additionally, we want to suggest to them to encode the data in someway that makes it 7-bit safe. Like UUENCode, URLEncode or mime64.
Yes. |
… MantaHttpHeaders should do this as well (and if so extract HttpHeaderPredicate)
… MantaHttpHeaders should do this as well (and if so extract HttpHeaderPredicate)
Due to MANTA-3527, objects can go into a state where they cannot be read if the header was written with a non-ascii value. We should add a guard clause that tells users that a non-ascii value was invalid and guide them to encode it.
The text was updated successfully, but these errors were encountered: