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

Waldo Bastian bastian at kde.org
Thu Jul 10 15:41:01 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 10 July 2003 14:40, Dirk Mueller wrote:
> On Don, 10 Jul 2003, Waldo Bastian wrote:
> > I suggest to revert referrer() to it's KDE 3.1 behavior and add an
> > additional function QString pageReferrer() const; which can then be used
> > by document.referrer()
>
> I suggest syncing the implementation then with the referrer handling in
> misc/loader.cpp .

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

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()

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/DXr9N4pvrENfboIRAjhbAJ0frQcrlLQG3racUY0wBtxhdnrGmwCfZgKY
z8SPz0yfmjdAuYQMHqEPhi4=
=PMW8
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list