mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 16:41:53 +00:00
Fixed success return validation on calls and implemented validation
catching logic for URL issues. Fixes #73 Fixes #75
This commit is contained in:
@@ -218,6 +218,9 @@ public final class TextStringFormatter {
|
||||
return aURL.replace("&", "&");
|
||||
}
|
||||
|
||||
public static String forQuerySpace(String aURL) {
|
||||
return aURL.replace(" ", "\u0020");
|
||||
}
|
||||
/**
|
||||
* Synonym for <tt>URLEncoder.encode(String, "UTF-8")</tt>.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user