Descriptionshell_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
Committed: https://crrev.com/b45fe1fab91262985cb4836add4b3feb873364e8
Cr-Commit-Position: refs/heads/master@{#301114}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|