[MPlayer-dev-eng] [PATCH] HTTP Cookie support
Bertrand Baudet
bertrand_baudet at yahoo.com
Wed Oct 22 23:54:48 CEST 2003
I had a quick look.
I found this:
asprintf(&buf, "%s/.mozilla/default", homedir);
dir = opendir("/usr/home/davel/.mozilla/default/");
free(buf);
It doesn't look ok to me...
Please correct.
Bertrand
On Friday 17 October 2003 18:12, Dave Lambley wrote:
> Hi,
>
> This patch adds support for HTTP cookies, so you can connect to servers
> that use cookies for authentication. I've tested it with
>
> http://www.happyhourradio.com/
>
> and it plays.
>
> It reads cookies from Mozilla and probably Netscape too.
>
> It adds two options, -cookie-file, which lets you choose where the
> cookies are read from and -nocookies, to stop cookies being sent.
>
> It doesn't attempt to load the sent cookies back into the file, because
> Mozilla doesn't want you to. The "secure" flag in cookies, to indicate
> that it is only to be sent via HTTPS is not honoured, because I don't
> know where it is!
>
> Cheers,
> Dave
More information about the MPlayer-dev-eng
mailing list