Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45527 Details for
Bug 72804
kde-base/kdebase: Konqueror SMB share password disclosure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
3.2.3 kdelibs html fix
post-3.2.3-kdelibs-khtml.diff (text/plain), 3.13 KB, created by
Caleb Tennis (RETIRED)
on 2004-12-08 05:13:21 UTC
(
hide
)
Description:
3.2.3 kdelibs html fix
Filename:
MIME Type:
Creator:
Caleb Tennis (RETIRED)
Created:
2004-12-08 05:13:21 UTC
Size:
3.13 KB
patch
obsolete
>Index: khtml_ext.cpp >=================================================================== >RCS file: /home/kde/kdelibs/khtml/khtml_ext.cpp,v >retrieving revision 1.85.2.3 >diff -u -5 -d -p -r1.85.2.3 khtml_ext.cpp >--- khtml_ext.cpp 3 Aug 2004 14:38:41 -0000 1.85.2.3 >+++ khtml_ext.cpp 8 Dec 2004 02:09:29 -0000 >@@ -442,40 +442,44 @@ void KHTMLPopupGUIClient::slotSaveImageA > saveURL( d->m_khtml->widget(), i18n( "Save Image As" ), d->m_imageURL, metaData ); > } > > void KHTMLPopupGUIClient::slotCopyLinkLocation() > { >+ KURL safeURL(d->m_url); >+ safeURL.setPass(QString::null); > #ifndef QT_NO_MIMECLIPBOARD > // Set it in both the mouse selection and in the clipboard > KURL::List lst; >- lst.append( d->m_url ); >+ lst.append( safeURL ); > QApplication::clipboard()->setSelectionMode(true); > QApplication::clipboard()->setData( new KURLDrag( lst ) ); > QApplication::clipboard()->setSelectionMode(false); > QApplication::clipboard()->setData( new KURLDrag( lst ) ); > #else >- QApplication::clipboard()->setText( d->m_url.url() ); //FIXME(E): Handle multiple entries >+ QApplication::clipboard()->setText( safeURL.url() ); //FIXME(E): Handle multiple entries > #endif > } > > void KHTMLPopupGUIClient::slotStopAnimations() > { > d->m_khtml->stopAnimations(); > } > > void KHTMLPopupGUIClient::slotCopyImageLocation() > { >+ KURL safeURL(d->m_imageURL); >+ safeURL.setPass(QString::null); > #ifndef QT_NO_MIMECLIPBOARD > // Set it in both the mouse selection and in the clipboard > KURL::List lst; >- lst.append( d->m_imageURL); >+ lst.append( safeURL ); > QApplication::clipboard()->setSelectionMode(true); > QApplication::clipboard()->setData( new KURLDrag( lst ) ); > QApplication::clipboard()->setSelectionMode(false); > QApplication::clipboard()->setData( new KURLDrag( lst ) ); > #else >- QApplication::clipboard()->setText(d->m_imageURL.url()); //FIXME(E): Handle multiple entries >+ QApplication::clipboard()->setText( safeURL.url() ); //FIXME(E): Handle multiple entries > #endif > } > > void KHTMLPopupGUIClient::slotViewImage() > { >Index: khtml_part.cpp >=================================================================== >RCS file: /home/kde/kdelibs/khtml/khtml_part.cpp,v >retrieving revision 1.959.2.23 >diff -u -5 -d -p -r1.959.2.23 khtml_part.cpp >--- khtml_part.cpp 8 Aug 2004 11:10:55 -0000 1.959.2.23 >+++ khtml_part.cpp 8 Dec 2004 02:09:32 -0000 >@@ -5465,10 +5465,12 @@ void KHTMLPart::khtmlMouseMoveEvent( kht > // Text or image link... > u = completeURL( d->m_strSelectedURL ); > pix = KMimeType::pixmapForURL(u, 0, KIcon::Desktop, KIcon::SizeMedium); > } > >+ u.setPass(QString::null); >+ > KURLDrag* urlDrag = new KURLDrag( u, img ? 0 : d->m_view->viewport() ); > if ( !d->m_referrer.isEmpty() ) > urlDrag->metaData()["referrer"] = d->m_referrer; > > if( img ) { >@@ -5483,11 +5485,11 @@ void KHTMLPart::khtmlMouseMoveEvent( kht > if ( !pix.isNull() ) > drag->setPixmap( pix ); > > stopAutoScroll(); > if(drag) >- drag->drag(); >+ drag->drag(); > > // when we finish our drag, we need to undo our mouse press > d->m_bMousePressed = false; > d->m_strSelectedURL = d->m_strSelectedURLTarget = QString::null; > return;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 72804
:
45520
|
45522
|
45523
|
45524
|
45525
|
45526
| 45527 |
45528