• Jinsuk Kim's avatar
    Make FTP directory parser less strict · ed3ef90e
    Jinsuk Kim authored
    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}
    ed3ef90e
dir-listing-ls-34.expected 171 Bytes