• Klemen Kozjek's avatar
    Files App: Sanitize disk mount point names · c5a6c38d
    Klemen Kozjek authored
    Before the CL, in case when external removable drive had '#' character
    in its name it caused that disk was not accessible through Files App.
    The user was able to select the drive, but no content was displayed
    neither they were able to add new files to the drive.
    
    This CL sanitizes and suggests mount point names for all mountable
    drives to prevent mounting a device with '#' in its name.
    
    Bug: 774241
    
    Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
    Change-Id: I90e5808bb0d8b4a26becaf9ba30b538ce580b3dd
    Reviewed-on: https://chromium-review.googlesource.com/720639Reviewed-by: default avatarTatsuhisa Yamaguchi <yamaguchi@chromium.org>
    Reviewed-by: default avatarNaoki Fukino <fukino@chromium.org>
    Commit-Queue: Klemen Kozjek <klemenko@google.com>
    Cr-Commit-Position: refs/heads/master@{#509325}
    c5a6c38d
volume_manager.cc 40.2 KB