[vlc-devel] Re: vlc: svn commit r19511 (pdherbemont)
pdherbemont at free.fr
Wed Mar 28 13:56:51 CEST 2007
On 28 mars 07, at 13:17, Remi Denis-Courmont wrote:
> On Wed, 28 Mar 2007 12:26:05 +0200 (CEST), Subversion daemon
> <svn at videolan.org> wrote:
>> r19511 | pdherbemont | 2007-03-28 12:26:05 +0200 (Wed, 28 Mar
>> 2007) | 2
>> Changed paths:
>> M /trunk/modules/access/http.c
>> http Access: Make sure we handle redirection that don't include
>> the server
> This is incorrect.
> "The Location response-header field is used to redirect the
> recipient to a location other than the Request-URI for completion
> of the request or identification of a new resource. (...) The field
> value consists of a single absolute URI."
> If it starts with a /, you are being redirected to a local file,
> and we purposedly forbade that because of security concerns.
So let's say it's for compatibility: YouTube does that.
$ curl http://youtube.com/v/UnFpkEAWzIQ.swf -i
HTTP/1.1 303 See Other
Date: Wed, 28 Mar 2007 11:56:45 GMT
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel