[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Fwd: [Bug 22558] referrer leaks through to non-referring site
From: Waldo Bastian <bastian () kde ! org>
Date: 2003-07-10 14:41:01
[Download RAW message or body]
-----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@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@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-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic