| Index: chrome/browser/resources/file_manager/js/volume_manager.js
|
| diff --git a/chrome/browser/resources/file_manager/js/volume_manager.js b/chrome/browser/resources/file_manager/js/volume_manager.js
|
| index ce0e586437a7bcb1039b666c02acf004fe9f602b..73237b972c6575072608f4401878f17ddf33b52f 100644
|
| --- a/chrome/browser/resources/file_manager/js/volume_manager.js
|
| +++ b/chrome/browser/resources/file_manager/js/volume_manager.js
|
| @@ -520,7 +520,8 @@ VolumeManager.prototype.validateError_ = function(error) {
|
| * @private
|
| */
|
| VolumeManager.prototype.validateMountPath_ = function(mountPath) {
|
| - if (!/^\/(((archive|removable)\/[^\/]+)|drive|drive_offline|Downloads)$/.
|
| - test(mountPath))
|
| + console.log(mountPath);
|
| + if (!/^\/(drive|drive_offline|Downloads)$/.test(mountPath) &&
|
| + !/^\/((archive|removable|drive)\/[^\/]+)$/.test(mountPath))
|
| throw new Error('Invalid mount path: ', mountPath);
|
| };
|
|
|