[Android] MRLs: Do not encode '?'

Geoffrey Métais git at videolan.org
Fri Mar 15 17:57:38 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Mar 15 17:55:27 2019 +0100| [48c62bdb82ee8e85335acf71187f6c58d3e7e728] | committer: Geoffrey Métais

MRLs: Do not encode '?'

This should fix network streams playback

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

 medialibrary/src/org/videolan/medialibrary/Tools.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/medialibrary/src/org/videolan/medialibrary/Tools.java b/medialibrary/src/org/videolan/medialibrary/Tools.java
index dffd8f9b0..469d2e7d6 100644
--- a/medialibrary/src/org/videolan/medialibrary/Tools.java
+++ b/medialibrary/src/org/videolan/medialibrary/Tools.java
@@ -123,7 +123,7 @@ public class Tools {
     }
 
     public static String encodeVLCString(String mrl) {
-        return Uri.encode(Uri.decode(mrl), ".-_~/()&!$*+,;='@:");
+        return Uri.encode(Uri.decode(mrl), ".-_~/()&!$*+,;='@:?");
     }
 
     public static String encodeVLCMrl(String mrl) {



More information about the Android mailing list