svn commit: r1799264 - /tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1799264 - /tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java

markt
Author: markt
Date: Mon Jun 19 19:19:25 2017
New Revision: 1799264

URL: http://svn.apache.org/viewvc?rev=1799264&view=rev
Log:
Fix back-port

Modified:
    tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java

Modified: tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java?rev=1799264&r1=1799263&r2=1799264&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java (original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java Mon Jun 19 19:19:25 2017
@@ -411,7 +411,7 @@ public final class Response {
         }
 
         try {
-            setCharset(B2CConverter.getCharset(charset));
+            setCharset(charset);
         } catch (UnsupportedEncodingException e) {
             log.warn(sm.getString("response.encoding.invalid", charset), e);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1799264 - /tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java

markt
On 19/06/17 20:19, [hidden email] wrote:
> Author: markt
> Date: Mon Jun 19 19:19:25 2017
> New Revision: 1799264
>
> URL: http://svn.apache.org/viewvc?rev=1799264&view=rev
> Log:
> Fix back-port

I think some refactoring is called for to revert some of the
deprecation. It is on my TODO list.

Mark


>
> Modified:
>     tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java
>
> Modified: tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java
> URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java?rev=1799264&r1=1799263&r2=1799264&view=diff
> ==============================================================================
> --- tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java (original)
> +++ tomcat/tc8.5.x/trunk/java/org/apache/coyote/Response.java Mon Jun 19 19:19:25 2017
> @@ -411,7 +411,7 @@ public final class Response {
>          }
>  
>          try {
> -            setCharset(B2CConverter.getCharset(charset));
> +            setCharset(charset);
>          } catch (UnsupportedEncodingException e) {
>              log.warn(sm.getString("response.encoding.invalid", charset), e);
>          }
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]