You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hu...@apache.org on 2017/06/27 03:23:59 UTC

svn commit: r1800009 - in /tomcat/trunk: java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java webapps/docs/changelog.xml

Author: huxing
Date: Tue Jun 27 03:23:59 2017
New Revision: 1800009

URL: http://svn.apache.org/viewvc?rev=1800009&view=rev
Log:
Ensure to send a space between trailer field name and field value for HTTP responses trailer fields

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java?rev=1800009&r1=1800008&r2=1800009&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/filters/ChunkedOutputFilter.java Tue Jun 27 03:23:59 2017
@@ -191,6 +191,7 @@ public class ChunkedOutputFilter impleme
                 }
                 osw.write(trailerField.getKey());
                 osw.write(':');
+                osw.write(' ');
                 osw.write(trailerField.getValue());
                 osw.write("\r\n");
             }

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1800009&r1=1800008&r2=1800009&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Tue Jun 27 03:23:59 2017
@@ -197,6 +197,10 @@
         variable for CGI executables is populated in a consistent way regardless
         of how the CGI servlet is mapped to a request. (markt)
       </fix>
+      <fix>
+        Ensure to send a space between trailer field name and field value
+        for HTTP responses trailer fields. (huxing)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">



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