Blank Username Work Around

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
collinjackson93
New Cone
New Cone
Posts: 1
Joined: 24 Oct 2015 06:42

Blank Username Work Around

Postby collinjackson93 » 24 Oct 2015 06:53

I'm working on an application that uses WinInet to make HTTP connections and am trying to interface with the VLC HTTP Server. I'm running into the issue that WinInet does not allow HTTP Authentication when the username is missing. I took the following text from this link:
The value of lpszUsername is the address of a null-terminated string that contains the name of the user who is logging on. If this parameter is NULL, the function uses an appropriate default, except for HTTP. A NULL parameter in HTTP causes the server to return an error.
This is obviously causing problems. From some experimentation that I've done, it seems like the VLC HTTP Server will reject any requests with a username that is not blank. Is there a way to make the server accept any requests that have the correct password, regardless of username (i.e., ignore the username entirely)?

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

Re: Blank Username Work Around

Postby Mdar » 15 Nov 2015 10:00

Hi

I'm also interested in a solution for this problem.

Cheers

Stuart


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 8 guests