[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/khtml
From: Waldo Bastian <bastian () kde ! org>
Date: 2002-12-06 11:56:38
[Download RAW message or body]
CVS commit by waba:
Ask authorization for redirects
M +5 -0 khtml_part.cpp 1.775
--- kdelibs/khtml/khtml_part.cpp:1.774 Tue Dec 3 17:06:43 2002
@@ -1728,6 +1728,11 @@
void KHTMLPart::scheduleRedirection( int delay, const QString &url, bool \
doLockHistory ) {
//kdDebug(6050) << "KHTMLPart::scheduleRedirection delay=" << delay << " url=" << \
url << endl; + if (!kapp || !kapp->kapp->authorizeURLAction("redirect", m_url, \
url)) + {
+ kdWarning(6050) << "KHTMLPart::scheduleRedirection: Redirection from " << \
m_url.prettyURL() << " to " << url << " REJECTED!" << endl; + return;
+ }
if( d->m_redirectURL.isEmpty() || delay < d->m_delayRedirect )
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic