Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D52CD200B22 for ; Wed, 1 Jun 2016 13:18:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D3AE9160A46; Wed, 1 Jun 2016 11:18:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 279CF160A41 for ; Wed, 1 Jun 2016 13:18:56 +0200 (CEST) Received: (qmail 80255 invoked by uid 500); 1 Jun 2016 11:18:50 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 80245 invoked by uid 99); 1 Jun 2016 11:18:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2016 11:18:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B15AAC0D08 for ; Wed, 1 Jun 2016 11:18:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.374 X-Spam-Level: X-Spam-Status: No, score=0.374 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id n7BuKXcJLhPc for ; Wed, 1 Jun 2016 11:18:48 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id 491855F368 for ; Wed, 1 Jun 2016 11:18:48 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2FF82E0095 for ; Wed, 1 Jun 2016 11:18:47 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 50A943A0118 for ; Wed, 1 Jun 2016 11:18:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1746427 - in /tomcat/trunk: java/org/apache/tomcat/util/buf/UDecoder.java webapps/docs/changelog.xml Date: Wed, 01 Jun 2016 11:18:45 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160601111846.50A943A0118@svn01-us-west.apache.org> archived-at: Wed, 01 Jun 2016 11:18:57 -0000 Author: markt Date: Wed Jun 1 11:18:45 2016 New Revision: 1746427 URL: http://svn.apache.org/viewvc?rev=1746427&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=59604 Correct the assumption made in the URL decoding that the default platform encoding is always compatible with ISO-8859-1. This assumption is not always valid, e.g. on z/OS. Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java?rev=1746427&r1=1746426&r2=1746427&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/buf/UDecoder.java Wed Jun 1 11:18:45 2016 @@ -347,6 +347,7 @@ public final class UDecoder { try { if (enc == null) { bytes = str.getBytes(StandardCharsets.ISO_8859_1); + enc = "ISO-8859-1"; } else { bytes = str.getBytes(B2CConverter.getCharset(enc)); } Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1746427&r1=1746426&r2=1746427&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Wed Jun 1 11:18:45 2016 @@ -67,6 +67,11 @@ increase in the reports of memory leaks for some time. (markt) + 59604: Correct the assumption made in the URL decoding that + the default platform encoding is always compatible with ISO-8859-1. This + assumption is not always valid, e.g. on z/OS. (markt) + + 59608: Skip over any invalid Class-Path attribute from JAR manifests. Log errors at debug level due to many bad libraries. (remm) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org