Summary: | Somtimes mod_negotiation fails select right variant | ||
---|---|---|---|
Product: | Apache httpd-1.3 | Reporter: | Maxim Zakharov <maxime> |
Component: | Other mods | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | utx |
Priority: | P3 | ||
Version: | 1.3.27 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | FreeBSD |
Description
Maxim Zakharov
2003-03-01 19:43:01 UTC
I'm not sure whether I fully understand your report. Why should we parse wrong numbers with commas in it? ...err, I think, I start to understand. The atof function is dependent on some locale settings? In some locales (include russian), comma is used as decimal point separator. Thus atof function under such locales is false to parse right variant weight with dot as desimal point separator. Well, I've fixed the problem by dropping atof() entirely (and writing our own more RFC compliant version). The fix currently applies to version 2.1 (main dev branch) and is proposed for backport. Thanks for your report and thanks for using Apache! *** Bug 9427 has been marked as a duplicate of this bug. *** Sounds fixed to me. |