Why a blank user name

Discuss your Lua playlist, album art and interface scripts.
sgparry
New Cone
New Cone
Posts: 9
Joined: 07 Feb 2013 00:20

Why a blank user name

Postby sgparry » 16 May 2015 23:37

Hi,

Why, when password protection on the VLC http interface was introduced, was a blank username chosen? This makes it almost impossible to access status.xml from a lot of script code. If an arbitrary username had been chosen (e.g. vlc) or the username was just plain ignored, it would cause a lot less code to choke AND would have allowed the use of a URL embedded username and password to allow access e.g.:

http://vlc:mypassword@localhost:8080/re ... status.xml

rfc1738 does not allow:

http://:mypassword@localhost:8080/requests/status.xml

This is very frustrating and potentially means I will have to either hack javascript framework I am using or change frameworks.

Stephen Parry

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Why a blank user name

Postby Rémi Denis-Courmont » 17 May 2015 16:53

Originally, the HTTP interface supported arbitrary pairs of username and password. Since the developer that migrated the HTTP interface to Lua, thus removing usernames and passwords has long since left, nobody can answer your question.

FWIW, passing usernames and passwords through URL has been deprecated by RFCs for a number of years.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Mdar
New Cone
New Cone
Posts: 3
Joined: 14 Nov 2015 23:11

Re: Why a blank user name

Postby Mdar » 15 Nov 2015 10:15

Hi

Has there been any development on this?

I'm stuck using version 2.0 because none of the methods I use to remotely access VLC work without a username.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 7 guests