gustafn
committed
on 30 Aug 16
- added new function "util::join_location" as counterpart of
"util::split_location" to use IP-literal notation when necessary
(IPv6). Th… Show more
- added new function "util::join_location" as counterpart of

 "util::split_location" to use IP-literal notation when necessary

 (IPv6). The function can be used in connection with

 "util::split_location" to substitute hostnames/ports etc. in full

 urls instead of insecure regsub operations.

- function "util::external_url_p":

 * don't use "string match" for comparing locations, since this

   will fail with IP-literal notation

 * no need to compare with encoded name (if needed, on should provide

   an option).

Show less