Review Request 125904: Save proxy url with correct scheme.

Xuetian Weng wengxt at gmail.com
Sun Nov 8 03:26:55 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125904/
-----------------------------------------------------------

(Updated Nov. 8, 2015, 3:26 a.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and Eike Hein.


Changes
-------

Submitted with commit 4e2a52c67167507b62553ca595bb561b925dc440 by Weng Xuetian to branch master.


Repository: kio


Description
-------

Currently, if user type a ip address/domain name in socks 5 proxy field, the saved proxy url in configuration file will start with http:// instead of socks:// . Same applies to ftp proxy.

The reason is that KUrlFilter append http scheme to url without scheme. This patch uses setDefaultUrlScheme to make sure the correct scheme is used.

Also make necessary change to make sure that loading url configuration will hide url scheme correctly.


Diffs
-----

  src/kcms/kio/kproxydlg.cpp c8fd0cd 

Diff: https://git.reviewboard.kde.org/r/125904/diff/


Testing
-------

Save socks proxy and ftp proxy will result in "ftp://" and "socks://".


Thanks,

Xuetian Weng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151108/c5c37012/attachment.html>


More information about the Kde-frameworks-devel mailing list