[Android] Preserve # and ! in VLC uris

Geoffrey Métais git at videolan.org
Wed Sep 20 13:37:15 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Sep 20 13:25:27 2017 +0200| [af890c757021d7a4c6d588b086da2976c0d46c7d] | committer: Geoffrey Métais

Preserve # and ! in VLC uris

> https://code.videolan.org/videolan/vlc-android/commit/af890c757021d7a4c6d588b086da2976c0d46c7d
---

 libvlc/src/org/videolan/libvlc/util/VLCUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvlc/src/org/videolan/libvlc/util/VLCUtil.java b/libvlc/src/org/videolan/libvlc/util/VLCUtil.java
index ba2db7ae2..b512c333f 100644
--- a/libvlc/src/org/videolan/libvlc/util/VLCUtil.java
+++ b/libvlc/src/org/videolan/libvlc/util/VLCUtil.java
@@ -501,7 +501,7 @@ public class VLCUtil {
         return ret;
     }
 
-    private static final String URI_AUTHORIZED_CHARS = "!'()*#";
+    private static final String URI_AUTHORIZED_CHARS = "'()*";
 
     /**
      * VLC authorize only "-._~" in Mrl format, android Uri authorize "_-!.~'()*".



More information about the Android mailing list