You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The naughty-strings list is fairly reasonable, although not all that directly applicable to filenames; it tends to produce a lot of redundant failures since many of its Javascript escapes and whatnot are very similar. A better, shorter list could probably be made by boiling it down to more general cases.
The misc list is pretty ad-hoc and doesn't cover every Unicode code block, or even most of them.
We should come up with some systematic cases and some systematic lists based on those cases.
The text was updated successfully, but these errors were encountered:
The cos suite --unicode test now covers all Unicode characters, systematically. It does attempt to test invalid UTF8 sequences, but it's not clear how effective that test is (e.g. it may be sensitively dependent on how the AWS client library converts Go strings to JSON).
The current set of key lists is fairly random and ad-hoc:
Default
: default source (asnaughty-strings
, filtering out""
,"."
, and leading".."
, all of which are known to fail in Amazon S3) (500 keys)disallow-backslash
: as default source, disallowing backlash (320 keys)disallow-double-backslash
: as default source, disallowing double backlash (498 keys)misc
: miscellenous potential problems, incl. path elements & unicode blocks (612 keys)naughty-strings
: Big List of Naughty Strings (504 keys)The
naughty-strings
list is fairly reasonable, although not all that directly applicable to filenames; it tends to produce a lot of redundant failures since many of its Javascript escapes and whatnot are very similar. A better, shorter list could probably be made by boiling it down to more general cases.The
misc
list is pretty ad-hoc and doesn't cover every Unicode code block, or even most of them.We should come up with some systematic cases and some systematic lists based on those cases.
The text was updated successfully, but these errors were encountered: