Comment 0 for bug 121467

Revision history for this message
In , Usenet-tonal (usenet-tonal) wrote :

While checking the DNS code, I discovered that, while code for net_IsValidHostName() in netwerk/dns/src/nsURLHelper.cpp says that it blocks the control characters and !\"#%&'()*,/;<=>?@\\^{|}\x7f
the _code_ appears not to block the right/closing brace character '{' (character code \x7d) as listed in the comment.

If this is deliberate, it should be documented correctly, with an explanation of wht this special character is being allowed. If, as I suspect, it's an accidental ommission, it should be fixed.