hyc@OpenLDAP.org writes:
url.c 1.104 -> 1.105 Better fix to prev commit
Actually the code was OK with not calling hex_escape_len() when there is a port number; it's only ldapi URLs which are escaped in desc2str(). Good call with IPv6 "[]" though. I guess it's time to walk through desc2str_len() and check that it matches desc2str().