Changed whitespace encoding to %21 instead of '+'
Changed version number for release
This commit is contained in:
1 parent
8c8f26e134
commit
50c35bc686
4 files changed
+12
-4
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user