DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26851>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26851

[PATCH] LinkStatusGenerator, incorrect link content type check





------- Additional Comments From [EMAIL PROTECTED]  2004-02-11 13:45 -------
Ok, I'll explain my picking. Suppose you want to test for "text/html", and page
has content type, say, "text/htmlz". With your patch, test succeeds. With path like:

    if (content_type.equals(linkContentType) ||
content_type.startsWith(linkContentType + ";"))

test will fail. Hope it is clearer ;-)

Reply via email to