According to Geoff Hutchison:
> Several people mentioned a bug with 3.1.2 (and earlier) with the operation
> of case_sensitive. Since I don't have a case insensitive server around, I
> can't test this patch very thoroughly. But it *should* fix this problem.
> 
> Please let me know if it works for you.
> 
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/
> 
> diff -c -3 -p -r1.25 URL.cc
> *** htlib/URL.cc        1999/06/13 02:13:07     1.25
> --- htlib/URL.cc        1999/07/15 02:23:53
> *************** void URL::normalizePath()
> *** 398,403 ****
> --- 398,407 ----
>               pathend = _path.length();
>         }
>   
> +     // If the server *isn't* case sensitive, we want to lowercase the path
> +     if (!config["case_sensitive"])

I believe this test should be:

        if (!config.Boolean("case_sensitive"))

> +       _path.lowercase();
> + 
>       // And don't forget to remove index.html or similar file.
>       removeIndex(_path);
>   }
> *************** void URL::dump()
> *** 422,427 ****
> --- 426,433 ----
>   void URL::path(char *newpath)
>   {
>       _path = newpath;
> +     if (!config["case_sensitive"])

Ditto.

> +       _path.lowercase();
>       constructURL();
>   }

Like you, I don't have a case insensitive server on which to test this,
but could those who had complained about the (non-)functioning of this
attribute please give it a spin?

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to