Changed whitespace encoding to %21 instead of '+'

Changed version number for release
This commit is contained in:
Pablo Fernandez committed 2010-09-17 23:23:02 -03:00
1 parent 8c8f26e134
commit 50c35bc686
4 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ public class URLUtils
Preconditions.checkNotNull(string, "Cannot encode null string");
try
{
return URLEncoder.encode(string, UTF_8);
return URLEncoder.encode(string, UTF_8).replaceAll("\\+", "%20");
}
catch (UnsupportedEncodingException uee)
{