[vlc-devel] [RFC] Option whitelisting policy
Antoine Cellerier
dionoea at videolan.org
Tue Sep 23 16:21:20 CEST 2008
On Tue, Sep 23, 2008, Rémi Duraffort wrote:
> > > > > add_string( "http-user-agent", COPYRIGHT_MESSAGE , NULL, AGENT_TEXT,
> > > > > AGENT_LONGTEXT, true );
> > > > > + change_safe();
> > > > I don't really like it but maybe...
> > > Nor do I (just to avoid having funny (or not) user-agent send by vlc
> > > because a website changed it).
> >
> > Some websites check the useragent before allowing access to a file. That
> > could be usefull if you have such an item in your playlist (which was
> > the reason why I wanted to whitelist it).
> I don't know how this option works so:
> when this option is set, it's only for one item in the playlist or for
> every item ?
> If it's only for the current item, I agrea with you as it's only
> modifying one item. In the other case (the option is apply for all items
> until someone change this options, I think it might be a problem to flag
> it as safe.
According to the source code it's specific to the access instance.
--
Antoine Cellerier
dionoea
More information about the vlc-devel
mailing list