DescriptionMake FTP directory parser less strict
FTP directory listing returns empty result if encoding detection or
conversion fails. This CL puts less strict constraint on conversion
so that the whole list can survive some filenames with broken chars
and be shown to users. Other browsers seem to work this way.
The broken chars can happen due to wrong encoding detection, which
cannot be avoided 100%, as reported in the bug.
BUG=676762
R=mmenke@chromium.org, phajdan.jr@chromium.org
Review-Url: https://codereview.chromium.org/2608213002 .
Cr-Commit-Position: refs/heads/master@{#441856}
Committed: https://chromium.googlesource.com/chromium/src/+/ed3ef90ecc3c01246a3d838fbeefdab72c94c228
Patch Set 1 #Patch Set 2 : add a test #
Total comments: 3
Patch Set 3 : substitute #
Messages
Total messages: 18 (5 generated)
|