Do not use encoded URL when creating relative symlinks

Review Request #116073 - Created Feb. 26, 2014 and submitted

Information
Dawit Alemayehu
kdelibs
origin/KDE/4.12
330463
Reviewers
kdelibs
dfaure
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.
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.
David Faure
Dawit Alemayehu
Commit Hook
This review has been submitted with commit 9fd3e380f3f1967b8ba01c5a248b6cddf79450a7 by Dawit Alemayehu to branch KDE/4.12.
Dawit Alemayehu
Review request changed

Status: Closed (submitted)

Loading...