[Webkit-unassigned] [Bug 53320] [Qt] QtWebKit does not properly handle D&D of a precent encoded URL...

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 28 15:14:28 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53320





--- Comment #4 from Dawit A. <adawit at kde.org>  2011-01-28 15:14:28 PST ---
(In reply to comment #0)
> I believe this bug is caused by the fact that the dragged URL is passed in unencoded format (QUrl::fromEncoded), but the attempt re-encode in QtWebKit's implementation of DragData::asURL in WebCore/platform/qt/DragDataQt.cpp does not seem to do the job properly. In fact to me the call to encodeWithURLEscapeSequences with the string representation of of the URL seems totally wrong to me since the characters allowed within a URL vary based in each of its separate components (scheme, authority, path, query etc...).

I am not longer sure whether the cause for the bug is the call to encodeWithURLEscapeSequences. Maninly because I fail to see how it can be that different from QUrl::toPrecentEncoding... However, I can confirm that the URL sent through the QDropEvent received when one reimplements QWebPage::dropEvent is most definitely not precent encoded.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list