in the parse_remote_port() function as the scope id has already been stripped
from the string.
char *portptr;
char endbracket;
- if((1 == sscanf(conn->host.name, "[%*45[0123456789abcdefABCDEF:.%]%c",
+ /* Note that at this point, the IPv6 address cannot contain any scope
+ suffix as that has already been removed in the ParseURLAndFillConnection()
+ function */
+ if((1 == sscanf(conn->host.name, "[%*45[0123456789abcdefABCDEF:.]%c",
&endbracket)) &&
(']' == endbracket)) {
/* this is a RFC2732-style specified IP-address */