tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote Response.java
Date Fri, 23 May 2003 17:26:27 GMT
luehe       2003/05/23 10:26:27

  Modified:    coyote/src/java/org/apache/coyote Response.java
  Log:
  Fixed Bugtraq 4865732 ("ServletResponse.getLocale returns en_US instead of container")
  
  Revision  Changes    Path
  1.23      +1 -1      jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Response.java
  
  Index: Response.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Response.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Response.java	8 May 2003 16:42:34 -0000	1.22
  +++ Response.java	23 May 2003 17:26:27 -0000	1.23
  @@ -96,7 +96,7 @@
      /**
        * Default locale as mandated by the spec.
        */
  -    private static Locale DEFAULT_LOCALE = new Locale("en", "US");
  +    private static Locale DEFAULT_LOCALE = Locale.getDefault();
       
          
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message