Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't create bookmark files on OSX that start with a dot.
When creating a bookmark file by draging and droping the URL to the desktop chromium uses the page title for the filename. In cases where the title starts with a dot the webloc file will also start with a dot. Since files starting with a dot are considered hidden and not shown by e.g. the Finder users won't see the expected resulting file. To circumvent this a dot as the first character is handled like any other character not allowed in a filename and gets replaced by a hyphen. BUG=138917 TEST=Paste "data:text/html,<title>. . . hey!</title>" into the Omnibox and drag and drop the URL to the desktop. Review URL: https://codereview.chromium.org/1118813005 Cr-Commit-Position: refs/heads/master@{#333649}
- Loading branch information