<table><tr><td style="">trufanov added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25432">View Revision</a></tr></table><br /><div><div><p>Hmm, I've just <tt style="background: #ebebeb; font-size: 13px;">git grep</tt> the repo and found another place that is most probably affected by the same problem in FTP slave;<br />
<a href="https://github.com/KDE/kio/blob/d03551cd0367ac7760224c56bda943c937ba5dac/src/ioslaves/ftp/ftp.cpp#L320" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/KDE/kio/blob/d03551cd0367ac7760224c56bda943c937ba5dac/src/ioslaves/ftp/ftp.cpp#L320</a></p>

<p>Could you check out if it's a QVariant with QByteArray type and fix it on your own?</p>

<p>Also now I think the code would be more self-descriptionly if I would use QByteArray() instead of QString() as a default value for mapConfig().value() in my fix.<br />
So if the second place is a bug and you think the same about default values feel free to improve my commit in HTTP with your fix too.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25432">https://phabricator.kde.org/D25432</a></div></div><br /><div><strong>To: </strong>trufanov, meven, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>