diff options
author | Hokein.Wu@gmail.com <Hokein.Wu@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-11 11:48:48 +0000 |
---|---|---|
committer | Hokein.Wu@gmail.com <Hokein.Wu@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-11 11:48:48 +0000 |
commit | 4c6636d52cdfb5d41e9d967ebf4deb331deb58fe (patch) | |
tree | fc419531c6403bebfca9df1ba8c43947ab69100a /chrome/tools | |
parent | 2c14260f42459a42d796b3b708fc6ec6cee21acd (diff) | |
download | chromium_src-4c6636d52cdfb5d41e9d967ebf4deb331deb58fe.zip chromium_src-4c6636d52cdfb5d41e9d967ebf4deb331deb58fe.tar.gz chromium_src-4c6636d52cdfb5d41e9d967ebf4deb331deb58fe.tar.bz2 |
Disable windows reserved characters and reserved names in manifest resources
From [0], file name on windows platform can't contain the reserved characters
(\ / : * ? " < > |) and can't use the reserved names(CON, PRN, AUX, NUL, COM1
COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5
LPT6, LPT7, LPT8, LPT9)
On Linux/Mac, only chararacters / and NULL('\0') are disallowed.
So We disable the \ : * ? " < > | characters and windows reserved names in
extension manifest resources to make extensions work cross platform better.
[0]: http://msdn.microsoft.com/en-us/library/aa365247.aspx
BUG=274768
TEST = unit_tests --gtest_filter=ExtensionTest.GetResource
TEST = load/package unpacked extension which contains the disallow character
* ? | < >) and see results.
Review URL: https://chromiumcodereview.appspot.com/23079008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
0 files changed, 0 insertions, 0 deletions