From kde-commits Sun Feb 11 17:28:48 2007 From: Harri Porten Date: Sun, 11 Feb 2007 17:28:48 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/khtml Message-Id: <1171214928.100496.14805.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=117121494028928 SVN commit 632575 by porten: make frame name lookup locale-independant (bug #137380) M +11 -0 ChangeLog M +2 -1 khtml_part.cpp --- branches/KDE/3.5/kdelibs/khtml/ChangeLog #632574:632575 @@ -1,3 +1,14 @@ +2007-02-11 Harri Porten + + * ecma/kjs_window.cpp (executeOpenWindow): fixed location href + and pathname for about:blank windows + + * khtml_part.cpp (findFrameParent): made frame name lookup locale + independant. Was mostly problematic with non-ascii names. + + * html/html_formimpl.cpp (gatherWalletData): prevent crash occuring + on double form submits (bug report #105899) + 2006-11-14 Allan Sandfeld Jensen Implement overflow-x and overflow-y --- branches/KDE/3.5/kdelibs/khtml/khtml_part.cpp #632574:632575 @@ -5219,7 +5219,8 @@ if (!checkFrameAccess(callingHtmlPart)) return 0; - if (!childFrame && !parentPart() && (name() == f)) + // match encoding used in KonqView::setViewName() + if (!childFrame && !parentPart() && (QString::fromLocal8Bit(name()) == f)) return this; FrameIt it = d->m_frames.find( f );