[Android] Allow '@' in VLC mrl
Geoffrey Métais
git at videolan.org
Fri Mar 2 16:27:20 CET 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Mar 2 16:26:15 2018 +0100| [2f830a099d5735d7cf945f6c2bb09d0d08553420] | committer: Geoffrey Métais
Allow '@' in VLC mrl
Close #486
> https://code.videolan.org/videolan/vlc-android/commit/2f830a099d5735d7cf945f6c2bb09d0d08553420
---
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 a59031e4a..b166a4de2 100644
--- a/medialibrary/src/org/videolan/medialibrary/Tools.java
+++ b/medialibrary/src/org/videolan/medialibrary/Tools.java
@@ -126,6 +126,6 @@ public class Tools {
static String encodeVLCMrl(String mrl) {
if (mrl.startsWith("/")) mrl = "file://"+mrl;
- return VLCUtil.encodeVLCString(Uri.encode(Uri.decode(mrl), ":/"));
+ return VLCUtil.encodeVLCString(Uri.encode(Uri.decode(mrl), ":/@"));
}
}
More information about the Android
mailing list