bad http request sent in mmsh.c
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmms |
New
|
Undecided
|
Unassigned |
Bug Description
I've found a potential problem in the HTTP request sent in mmsh.c
Trying to download this file
mms://rntlivewm
I get (enabling the debug output)
mmst_valid_proto
try to connect to rntlivewm.rai.it on port 1755
***LOG:*** -- failed to connect 'rntlivewm.rai.it'
mmsh_valid_proto
try to connect to rntlivewm.rai.it on port 80
connected
first http request
send_command:
GET mms://rntlivewm
Accept: */*
User-Agent: NSPlayer/4.1.0.3856
Host: rntlivewm.rai.it:80
Pragma: no-cache,
Pragma: xClientGUID=
Connection: Close
As you can see the GET command still contains the initial part of the address, which should not be there (i.e.: mms://rntlivewm
The problem seems to be in the way mmsh_connect() initializes *this.
It uses gnet_uri_