soup_uri_copy preserves default port on scheme change
This had been discovered at evolution#2202 (moved)
When changing an http
GUri
scheme to https
(aka secure HTTP) using soup_uri_copy
, the function preserves the old port, which is the default port, the 80, which results in a URL: https://example.com:80
, which is clearly wrong.
This behavior is unexpected, but maybe it's only me.
I will handle this on the evolution-data-server side, but I'd like you to consider fixing the soup_uri_copy
to not preserve the default port of the passed-in GUri
when the scheme is changing and the port itself is not covered in the passed-in changes.