diff --git a/static/js/utils.js b/static/js/utils.js index a94bed6c..574e4a87 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -2659,8 +2659,9 @@ pandora.openURL = function(url) { }; pandora.safeDocumentName = function(name) { - ['?', '#', '%'].forEach(function(c) { - name = name.replace(c, '_'); + ['\\?', '#', '%', '/'].forEach(function(c) { + var r = new RegExp(c, 'g') + name = name.replace(r, '_'); }) return name; };