Quellcode durchsuchen

Remove + escapeing

Trevor Flynn vor 5 Jahren
Ursprung
Commit
ed3d67babb

+ 1 - 1
jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfLoader.java

@@ -1191,7 +1191,7 @@ public class GltfLoader implements AssetLoader {
 
     private String decodeUri(String uri) {
         try {
-            return URLDecoder.decode(uri.replace("+", "%2B"), "UTF-8");
+            return URLDecoder.decode(uri, "UTF-8");
         } catch (UnsupportedEncodingException e) {
             return uri; //This would mean that UTF-8 is unsupported on the platform.
         }