--UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, untested... Dirk --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="frameloading.diff" Index: html_baseimpl.cpp =================================================================== RCS file: /home/kde/kdelibs/khtml/html/html_baseimpl.cpp,v retrieving revision 1.159 diff -u -5 -d -p -r1.159 html_baseimpl.cpp --- html_baseimpl.cpp 2002/03/22 20:42:34 1.159 +++ html_baseimpl.cpp 2002/03/26 01:47:53 @@ -316,12 +316,15 @@ void HTMLFrameElementImpl::attach() // we need a unique name for every frame in the frameset. Hope that's unique enough. if(name.isEmpty() || w->part()->frameExists( name.string() ) ) name = DOMString(w->part()->requestFrameName()); // load the frame contents - if (!url.isEmpty()) - w->part()->requestFrame( static_cast(m_render), url.string(), name.string() ); + if (!url.isEmpty()) { + KURL fullURL = getDocument()->completeURL( url.string() ); + if ( !(w->part()->onlyLocalReferences() && fullURL.protocol() != "file")) + w->part()->requestFrame( static_cast(m_render), url.string(), name.string() ); + } } void HTMLFrameElementImpl::detach() { HTMLElementImpl::detach(); --UugvWAfsgieZRqgk--