[Patch] KURL breaks data urls

Leo Savernik l.savernik at aon.at
Sun Sep 14 21:26:28 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

KURL::KURL(base, relurl) breaks data urls. I traced it down to the call of 
cleanPath which (wrongly) mangles a data url like

data:text/html,blabla

into

data:/html,blabla

So I wrote a fix that makes data urls exempt to this call. I'd like to commit 
it, but if you have a better way to solve it, I'd like to know about it.

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/ZM76j5jssenUYTsRAgWnAJ9ayB/j0txsLDvEkhuz1ndUaKCAAwCfUili
T23i2Y+7Sef/XBfj7lTiL7I=
=shOH
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kurl_1.diff
Type: text/x-diff
Size: 912 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030914/633244d7/attachment.diff>


More information about the kfm-devel mailing list