[Android] MRLs: Do not encode '?'

Geoffrey Métais git at videolan.org
Tue Mar 19 15:35:12 CET 2019


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

MRLs: Do not encode '?'

This should fix network streams playback

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

 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