>If you change line 151 to:
>      if (hasService && ((strncmp(ref, "http://", 7) == 0) ||

Which I believe is the correct code. At least that's what I have in my
development copy. Perhaps Andrew can suggest why it was previously "http:/"

>In the cases where *ref starts with "http" (which is most common), I think
>it's possible to prove that (with the current code) the condition on line
>171, i.e., *ref == '/', is never true and so the statement on line 177 is
>unreachable.

I'm not sure what you're saying. The condition shouldn't apply to something
starting with "http"--it's for relative URLs like:
<a href="/"> which is also fairly common on a given server--I almost always
use relative URLs in my documents.




-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to