I just tested this with Tomcat 4.0.4 connector and tomcat 4.0.4 using Apache
1.3.24 on RedHat 7.2 and it is absolutely broken.

I find it unusual that a European would not fix such a crucial piece of code
for localization of applications.

This defect was reported in March

It was confirmed by a second source in March.

I reported it to you separately in April.

I have yet again, confirmed it's existence. To recap my original message
sent directly to you in April:

I am running into a problem with accept-language/getLocales() when I use
mod_jk  with the ajp13 connector.

System Configuration:

RedHat Linux 7.2
Apache 1.3.22
Tomcat 4.0.4-B1
mod_jk.so 4.0.4-B2 version 1.2.0

When I go through mod_jk, getLocales() only returns the default locale of
the container. It does not return the locales that are specified by the
accept-language header.  I looked at the source and didn't see anything
really jump out at me. FWIW, the problem is also manifested with the 1.1
connector distributed

If I connect to the http 1.1 connector on port 8080, I get:

<!-- protocol=HTTP/1.1 -->
<!-- Accept-Language=de,en-us;q=0.8,fr;q=0.5,es;q=0.3 -->
<!-- Locale=de -->
<!-- Locale: de -->
<!-- Locale: en_US -->
<!-- Locale: fr -->
<!-- Locale: es -->

If I connect through apache using ajp13 and mod_jk 1.2 I get:

<!-- protocol=HTTP/1.1 -->
<!-- Accept-Language=de,en-us;q=0.8,fr;q=0.5,es;q=0.3 -->
<!-- Locale=en_US -->
<!-- Locale: en_US -->

The real difference seems to be going through mod_jk.so.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 18 June, 2002 4:31 AM
To: [EMAIL PROTECTED]
Subject: DO NOT REPLY [Bug 6832] - Locale of the browser is ignored by
the AJP13 connector


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=6832>.
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=6832

Locale of the browser is ignored by the AJP13 connector





------- Additional Comments From [EMAIL PROTECTED]  2002-06-18 10:30 -------
Didn't have such problem with tomcat 4.0.4 and latest JTC,
with Apache 2.0.36 + mod_jk 1.2.0.

May be only IIS related but Nacho could take a look at it...

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to