Review Request 116073: Do not use encoded URL when creating relative symlinks
Dawit Alemayehu
adawit at kde.org
Thu Feb 27 01:08:23 GMT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116073/
-----------------------------------------------------------
(Updated Feb. 27, 2014, 1:08 a.m.)
Status
------
This change has been marked as submitted.
Review request for kdelibs and David Faure.
Bugs: 330463
http://bugs.kde.org/show_bug.cgi?id=330463
Repository: kdelibs
Description
-------
When creating symlinks in KNewFileMenuPrivate::_k_slotSymLink, call prettyUrl() instead url() to retrieve the user entered text. Otherwise, a percent encoded version of the URL will be used to create the symlink which of course results in the creation of an invalid symlink. Note that this call needs to probably be changed toString() in kf5 since it is using QUrl.
Diffs
-----
kfile/knewfilemenu.cpp e7fe237
Diff: https://git.reviewboard.kde.org/r/116073/diff/
Testing
-------
Follow the steps outlined in the bug report to create a symlink to a file whose path or name contains characters that are not allowed in a URL.
Thanks,
Dawit Alemayehu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140227/e8810fbd/attachment.htm>
More information about the kde-core-devel
mailing list