[vlc-devel] [PATCH] cli: fixup URLs passed via command-line

Romain Vimont rom1v at videolabs.io
Mon Oct 12 15:52:09 CEST 2020

On Mon, Oct 12, 2020 at 04:21:13PM +0300, RĂ©mi Denis-Courmont wrote:
> It was already pointed out multiple times by multiple people that this doesn't work in the previous thread.

Hmm, that works for me.

Without the patch, opening an URL containing spaces did not work:

    ./vlc 'http://someserver/file with space.mp4'

With this patch, it works.

As I said in the other discussion, it is basically what wget does:

Are there any arguments other than shell arguments must be quoted
anyway, so the user could also fix the URL?


More information about the vlc-devel mailing list