chinmoyr created this revision. chinmoyr added reviewers: bruns, dfaure. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. chinmoyr requested review of this revision.
REVISION SUMMARY D21155 <https://phabricator.kde.org/D21155> trucates a QString. Since most Linux FS specify filename limits in bytes, convert the url to QByteArray and then truncate. As for truncating a UTF-8 sequence in middle, will it have any noticeable impact? After truncating, the url loses any meaning it had initially. So IMO a few characters at the end which were initially not a part of the url don't make any difference. REPOSITORY R241 KIO BRANCH link REVISION DETAIL https://phabricator.kde.org/D21317 AFFECTED FILES src/core/copyjob.cpp To: chinmoyr, bruns, dfaure Cc: kde-frameworks-devel, michaelh, ngraham, bruns