The web server does not properly decode a parameter

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Dae
New Cone
New Cone
Posts: 6
Joined: 25 Jul 2018 23:59
Contact:

The web server does not properly decode a parameter

Postby Dae » 26 Jul 2018 00:10

I'm exploring the HTTP server of VLC.

The documentation states:
All parameters need to be URL encoded
But when I set a GET request to:

Code: Select all

http://127.0.0.1:8080/requests/status.xml?command=in_play&input=%2FUsers%2Fdae%2FDesktop%2Fvideos%2F
...and it results in:
Image

Non-urlencoded path works fine:

Code: Select all

http://127.0.0.1:8080/requests/status.xml?command=in_play&input=/Users/dae/Desktop/videos/
What am I doing wrong?

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 10 guests