Thomas Dickey dixit: > Why are you stripping the brackets? As I read the code, it appears to > only be doing a wildcard comparison on the strings.
Normalisation. We don’t know if the certificate has the brackets, but the URL has them anyway, however, they are only needed for the URL. So we need to strip them to get the address. (Brackets are also sometimes used with domain names, not just numeric IPs, try lynx http://[www.mirbsd.org]/ and see it works.) Better safe than sorry. bye, //mirabilos -- Sometimes they [people] care too much: pretty printers [and syntax highligh- ting, d.A.] mechanically produce pretty output that accentuates irrelevant detail in the program, which is as sensible as putting all the prepositions in English text in bold font. -- Rob Pike in "Notes on Programming in C" _______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
