| Index: chrome/browser/download/download_extensions.cc
|
| diff --git a/chrome/browser/download/download_extensions.cc b/chrome/browser/download/download_extensions.cc
|
| index 6e72474e4ef05c5085c62419ebf600bd0b56732d..baa1358af00f528855c08ce18e0e4ab1d259065a 100644
|
| --- a/chrome/browser/download/download_extensions.cc
|
| +++ b/chrome/browser/download/download_extensions.cc
|
| @@ -166,9 +166,6 @@ static const struct Executables {
|
| { "shs", ALLOW_ON_USER_GESTURE },
|
| { "sys", DANGEROUS },
|
| { "url", ALLOW_ON_USER_GESTURE },
|
| - // TODO(davidben): Remove this when double-extensions are no longer
|
| - // a nuisance.
|
| - { "user.js", ALLOW_ON_USER_GESTURE },
|
| { "vb", ALLOW_ON_USER_GESTURE },
|
| { "vbe", ALLOW_ON_USER_GESTURE },
|
| { "vbs", ALLOW_ON_USER_GESTURE },
|
| @@ -211,7 +208,7 @@ static const struct Executables {
|
| };
|
|
|
| DownloadDangerLevel GetFileDangerLevel(const base::FilePath& path) {
|
| - base::FilePath::StringType extension(path.Extension());
|
| + base::FilePath::StringType extension(path.FinalExtension());
|
| if (extension.empty())
|
| return NOT_DANGEROUS;
|
| if (!IsStringASCII(extension))
|
|
|