From kde-core-devel Mon Jul 16 23:15:08 2001 From: Dirk Mueller Date: Mon, 16 Jul 2001 23:15:08 +0000 To: kde-core-devel Subject: favicons problem X-MARC-Message: https://marc.info/?l=kde-core-devel&m=99532549813568 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--J2SCkAp4GZ/dPZZf" --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, when you first visit a site with an anchor (htmlref, http://www.foo/index.html#foobar) set, it uses that name for the favicon.ico as well. below my attempt at fixing this. please review. Dirk --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="favicons.patch" Index: favicons/favicons.cpp =================================================================== RCS file: /home/kde/kdebase/libkonq/favicons/favicons.cpp,v retrieving revision 1.5 diff -u -3 -d -p -b -r1.5 favicons.cpp --- favicons/favicons.cpp 2001/06/20 05:19:51 1.5 +++ favicons/favicons.cpp 2001/07/16 23:15:05 @@ -139,6 +139,7 @@ void FaviconsModule::downloadHostIcon(co KURL iconURL(url); iconURL.setEncodedPathAndQuery("/favicon.ico"); + iconURL.setRef( QString::null ); startDownload(url.host(), true, iconURL); } --J2SCkAp4GZ/dPZZf--