SA Bugzilla – Bug 521
remarks regarding URI_IS_POUND
Last modified: 2002-07-29 00:41:36 UTC
uri URI_IS_POUND m{\#$} describe URI_IS_POUND Filename is just a '\#'; probably a JS trick This rule matches the line trider-g7:~# ksymoops and I'm not sure whether this is intended. And the description doesn't match the real behavior, it does a check for "file name ends with a '#'" or so (the "\" is wrong), not a: SPAM: URI_IS_POUND (2.0 points) URI: Filename is just a '\#'; probably a JS trick
Hmmmm, the Perl regular expression which extracts bare URLs (ones not inside an HTML tag) must be picking up "trider-g7:~#". Can URI protocol names contain a "-"? If not, then a separate bug should be filed about that. As for the "\" in the comment, that's there because otherwise the "#" will be interpreted as the beggining of a comment. I guess Conf.pm needs to be fixed to take care of that.
Accourding to RFC 2396 it seems a "-" is allowed... Regarding the description of URI_IS_POUND: 20_uri_tests.cf:describe URI_IS_POUND Filename is just a '\#'; probably a JSrick ^^^^ It's escaped twice, IOW the right solution should be instead of '\#' either a '#' or a \#
fixed