PATCH: 2 small KHTML patches...

Dawit A. adawit at kde.org
Sat Jan 3 16:31:28 GMT 2004


Hi,

The attached patch fixes 2 issues:

1.) If a meta-redirection is scheduled in a framed page the wrong referrer 
header is sent. This happens because the referrer string is incorrectly set 
to "" in ::slotRedirect. You can see the problem by doing the 
following:

i.) Go to http://www.wxwindows.org/
ii.) Click on download.
iii.) Click on Unix/GTK+ or any of the other links it does not matter.
iv.) Click on any link under the Sourceforge column. I clicked on #7.
v.) Select a mirror option on the next page.

The last is supposed to cause redireciont that should result in prompt . It 
fails because the referrer is set to "http://www.wxwindows.org/..." instead 
of "http://prdownloads.sourceforge.net/...".

2.) Remove unnecessary emition of the started(KIO::Job*) signal in 
::requestObject because the ctor of KHTML::Run already does that for us.

-- 
Regards,
Dawit A.
"Preach what you practice, practice what you preach"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml_part-20040103.diff
Type: text/x-diff
Size: 1440 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040103/2b7a62b9/attachment.diff>


More information about the kde-core-devel mailing list