Skip to content
Snippets Groups Projects
Commit e18a7944 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Correctly encode mrls for ban/uban

parent 0949ef13
No related branches found
No related tags found
No related merge requests found
......@@ -99,12 +99,12 @@ public class Medialibrary {
public void banFolder(@NonNull String path) {
if (mIsInitiated && new File(path).exists())
nativeBanFolder(Tools.encodeVLCMrl(path));
nativeBanFolder(Tools.encodeVLCMrl(Uri.encode(path, "/")));
}
public void unbanFolder(@NonNull String path) {
if (mIsInitiated && new File(path).exists())
nativeUnbanFolder(Tools.encodeVLCMrl(path));
nativeUnbanFolder(Tools.encodeVLCMrl(Uri.encode(path, "/")));
}
public String[] getDevices() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment