Index: net/base/dir_header.html |
=================================================================== |
--- net/base/dir_header.html (revision 43592) |
+++ net/base/dir_header.html (working copy) |
@@ -60,7 +60,8 @@ |
function onListingParsingError() { |
var box = document.getElementById("listingParsingErrorBox"); |
- box.innerHTML = box.innerHTML.replace("LOCATION", document.location + "?raw"); |
+ box.innerHTML = box.innerHTML.replace("LOCATION", encodeURI(document.location) |
eroman
2010/04/06 01:43:12
nit: this seems like a separate issue, I suggest b
|
+ + "?raw"); |
box.style.display = ""; |
} |
</script> |