shell_util: AddFileAssociations now correctly quotes "%1" arguments.
Instead of GetCommandLineString, uses GetCommandLineStringWithPlaceholders, which is specially designed to quote placeholder arguments like "%1". This is necessary when writing a command line to the Windows registry, because otherwise Windows may put a filename with a space in it, and recognise it as two separate arguments. BUG=130455 Review URL: https://codereview.chromium.org/669943003 Cr-Commit-Position: refs/heads/master@{#301114}
Showing
Please register or sign in to comment