Merge branch 'development' into FS-222

This commit is contained in:
Ryan
2022-06-03 19:21:07 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@ -337,12 +337,12 @@ public abstract class NanoHTTPD
*/
protected String decodePercent(String str)
{
String decoded = null;
String decoded = str;
try
{
decoded = URLDecoder.decode(str, "UTF8");
}
catch (UnsupportedEncodingException ignored)
catch (UnsupportedEncodingException | IllegalArgumentException ignored)
{
}
return decoded;