Fwd: [Bug 22558] referrer leaks through to non-referring site

Dirk Mueller mueller at kde.org
Thu Jul 10 18:13:23 BST 2003


On Don, 10 Jul 2003, Waldo Bastian wrote:

> In terms of using req->m_docLoader->doc()->URL(); ? 

Yes. or the sanitized version of it. 

> Or in terms of
>       if ( r.protocol().startsWith( "http" ) && r.path().isEmpty() )
>           r.setPath( "/" ); ?
> 
> I don't think that one is needed any more since the kio_http slave 
> automatically redirects to / on path().isEmpty()

That bug still exists in KURL. its not about kio_http redirection but about 
the referrer. 

Sending a referer like http://www.foobla.com is wrong, it has to have a 
trailing backslash. 


-- 
Dirk




More information about the kfm-devel mailing list