Disable encoding/decoding of plusses in URIs

This commit is contained in:
tlrobinson authored and Francisco Ryan Tolmasky I committed 2009-06-23 17:00:25 -07:00
1 parent 4afb8003e6
commit f4f48e4e09
3 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -301,7 +301,9 @@ objj_search.prototype.request = function(aFilePath, aMethod)
try
{
request.open("GET", aFilePath.replace(/\+/g, "%2B"), YES);
// unclear whether plusses are reserved in the URI path
//request.open("GET", aFilePath.replace(/\+/g, "%2B"), YES);
request.open("GET", aFilePath, YES);
request.send("");
}
catch (anException)