Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(978)

Unified Diff: chrome/browser/resources/file_manager/js/util.js

Issue 12674003: Fix playing video files with hash in the filename in Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added some comments. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/file_manager/js/util.js
diff --git a/chrome/browser/resources/file_manager/js/util.js b/chrome/browser/resources/file_manager/js/util.js
index 3879358657c10401d8c88039d2dc07885da06678..f745ceb64d81cfc7313c93482395a17cf3d2067b 100644
--- a/chrome/browser/resources/file_manager/js/util.js
+++ b/chrome/browser/resources/file_manager/js/util.js
@@ -756,7 +756,7 @@ util.updateAppState = function(replace, path, opt_param) {
var hash;
if (path)
- hash = '#' + encodeURI(path);
+ hash = '#' + encodeURIComponent(path);
else
hash = location.hash;

Powered by Google App Engine
This is Rietveld 408576698