[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.1/kdelibs/khtml
From: Maks Orlovich <maksim () kde ! org>
Date: 2008-08-03 17:40:32
Message-ID: 1217785232.428775.15223.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 841625 by orlovich:
Don't mess up unicode in javascript: URIs; fromPercentEncoding likes utf-8, so feed it some.
Fixes some of the trees on that Greek banking website.
M +1 -1 khtml_part.cpp
--- branches/KDE/4.1/kdelibs/khtml/khtml_part.cpp #841624:841625
@@ -2384,7 +2384,7 @@
QString KHTMLPartPrivate::codeForJavaScriptURL(const QString &u)
{
- return KUrl::fromPercentEncoding( u.right( u.length() - 11 ).toLatin1() );
+ return KUrl::fromPercentEncoding( u.right( u.length() - 11 ).toUtf8() );
}
void KHTMLPartPrivate::executeJavascriptURL(const QString &u)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic