KURL problem
Andras Mantia
amantia at kde.org
Tue Sep 27 11:28:19 BST 2005
On Tuesday 20 September 2005 14:02, Michael Brade wrote:
> What do you suggest? Can we please fix KURL? If adjustPath() removes
> *one* slash, then cleanPath() should get rid of all of them but one.
> Or neither of them should change the url.
Isn't the attached patch a solution (adjustPath(-1) removes all trailing
slashes)?. Hopefully it doesn't break existing applications (it
shouldn't). And it fixes the crash.
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kurl.cpp.diff
Type: text/x-diff
Size: 435 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050927/d076289f/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050927/d076289f/attachment.sig>
More information about the kde-core-devel
mailing list