kdelibs/khtml

George Staikos staikos at kde.org
Thu Jul 3 20:05:00 CEST 2003


CVS commit by staikos: 

Clear out the username and password when setting the referrer.
This affects Safari as well.

Fixes most of 60479, but not all.

CCMAIL: 60479 at bugs.kde.org, khtml-devel at kde.org


  M +2 -0      khtml_part.cpp   1.867


--- kdelibs/khtml/khtml_part.cpp  #1.866:1.867
@@ -1490,4 +1490,6 @@ void KHTMLPart::begin( const KURL &url, 
   KURL ref(url);
   ref.setRef(QString::null);
+  ref.setUser(QString::null);
+  ref.setPass(QString::null);
   d->m_referrer = ref.protocol().startsWith("http") ? ref.url() : "";
 




More information about the Khtml-devel mailing list