You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ki...@apache.org on 2003/04/29 22:46:52 UTC

cvs commit: jakarta-servletapi-5/jsr154/src/share/javax/servlet/http Cookie.java LocalStrings.properties LocalStrings_fr.properties

kinman      2003/04/29 13:46:51

  Modified:    jsr154/src/share/javax/servlet/http Cookie.java
                        LocalStrings.properties LocalStrings_fr.properties
  Log:
  - Patch by Jan Luehe:
  
    Fixed Bugtraq 4855756: Constructor for cookie not throwing
    IllegalAgumentException for bad value
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/Cookie.java
  
  Index: Cookie.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/Cookie.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Cookie.java	11 Apr 2003 15:02:40 -0000	1.2
  +++ Cookie.java	29 Apr 2003 20:46:51 -0000	1.3
  @@ -530,7 +530,7 @@
       // 
       // private static final String tspecials = "()<>@,;:\\\"/[]?={} \t";
   
  -    private static final String tspecials = ",;";
  +    private static final String tspecials = ",; ";
       
       
       
  
  
  
  1.2       +1 -1      jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/LocalStrings.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LocalStrings.properties	13 Aug 2002 16:21:45 -0000	1.1
  +++ LocalStrings.properties	29 Apr 2003 20:46:51 -0000	1.2
  @@ -1,7 +1,7 @@
   # Default localized string information
   # Localized for Locale en_US
   
  -err.cookie_name_is_token=Cookie name {0} is a reserved token
  +err.cookie_name_is_token=Cookie name \"{0}\" is a reserved token
   err.io.negativelength=Negative Length given in write method
   err.io.short_read=Short Read
   
  
  
  
  1.3       +2 -2      jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/LocalStrings_fr.properties
  
  Index: LocalStrings_fr.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/LocalStrings_fr.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LocalStrings_fr.properties	5 Nov 2002 16:57:35 -0000	1.2
  +++ LocalStrings_fr.properties	29 Apr 2003 20:46:51 -0000	1.3
  @@ -1,8 +1,8 @@
   # Default localized string information
   # Localized for Locale fr_FR
   
  -err.cookie_name_is_token=Le nom de cookie {0} est un "token" r�serv�
  -err.io.negativelength=Taille n�gative donn�e dans la m�thode "write"
  +err.cookie_name_is_token=Le nom de cookie \"{0}\" est un \"token\" r�serv�
  +err.io.negativelength=Taille n�gative donn�e dans la m�thode \"write\"
   err.io.short_read=Lecture partielle
   
   http.method_not_implemented=Le m�thode {0} n''est pas d�finie dans la RFC 2068 et n''est pas support�e par l''API Servlet
  
  
  

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