Return-Path: X-Original-To: apmail-hc-commits-archive@www.apache.org Delivered-To: apmail-hc-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A989CA0F for ; Mon, 17 Mar 2014 15:35:32 +0000 (UTC) Received: (qmail 29309 invoked by uid 500); 17 Mar 2014 15:35:31 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 29265 invoked by uid 500); 17 Mar 2014 15:35:30 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 29257 invoked by uid 99); 17 Mar 2014 15:35:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 15:35:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2014 15:35:28 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DB60D2388906 for ; Mon, 17 Mar 2014 15:35:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1578441 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java Date: Mon, 17 Mar 2014 15:35:06 -0000 To: commits@hc.apache.org From: olegk@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140317153506.DB60D2388906@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olegk Date: Mon Mar 17 15:35:06 2014 New Revision: 1578441 URL: http://svn.apache.org/r1578441 Log: Use explicit locale with upper/lower case conversions Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java?rev=1578441&r1=1578440&r2=1578441&view=diff ============================================================================== --- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java (original) +++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java Mon Mar 17 15:35:06 2014 @@ -288,8 +288,8 @@ public class URIUtils { outputBuffer.append('/'); } try { - final String scheme = uri.getScheme().toLowerCase(); - final String auth = uri.getAuthority().toLowerCase(); + final String scheme = uri.getScheme().toLowerCase(Locale.ROOT); + final String auth = uri.getAuthority().toLowerCase(Locale.ROOT); final URI ref = new URI(scheme, auth, outputBuffer.toString(), null, null); if (uri.getQuery() == null && uri.getFragment() == null) {