PATCH: khtml fix for BR# 50548

Harri Porten porten at kde.org
Mon Nov 11 16:22:54 GMT 2002


On Mon, 11 Nov 2002, Dawit A. wrote:

> Hi,
> 
> Here is a patch to address the other privacy related bug 
> reported by the same user.  This is the one about the URL 
> fragment (everything after the hash mark => #) being sent
> with the referrer header.

I can't comment on the fix itself but how about rewriting the repeated 8
lines of code to:

  KURL tmp = url;
  tmp.setRef(QString::null);
  d->m_referrer = tmp.url();

Slightly slower but easier to read (if correct;)

Harri.





More information about the kfm-devel mailing list