Do not sanitize uri if this is no needed.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 17 Nov 2017 08:39:22 +0000 (09:39 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 17 Nov 2017 08:39:22 +0000 (09:39 +0100)
commit43f73383a4b9eb041464146759249dde6654edd5
tree08340a543599919f1540666e0c89c1c6ec37683e
parent19cae912726750ddab53a0bd8327b3d03c0b7c61
Do not sanitize uri if this is no needed.

Most of the time uri do not contain credentials, so don't run expensive
uri cleanup if there is not @ char in uri indicating that this might
contain at least a username and possibly also and password.
src/util.c