Diffusion KIO c904cbcb9876

simplify the url parsing

Authored by sitter on Oct 11 2019, 12:49 PM.

Description

simplify the url parsing

Summary:
all urls need to have their ports stripped and text set, so de-duplicate
the shared code out of the conditional branches to prevent bugs from
making changes in one branch but not the other

Test Plan: saving and changing proxy settings continues to work

Reviewers: dfaure, apol

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D24559

Details

Committed
sitterOct 14 2019, 9:43 AM
Reviewer
apol
Differential Revision
D24559: simplify the url parsing
Parents
R241:d1a3b9d08158: fix proxy setting loading
Branches
Unknown
Tags
Unknown