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 E448A200B60 for ; Sun, 14 Aug 2016 13:42:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E2EDE160AA9; Sun, 14 Aug 2016 11:42:21 +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 5BDA2160A74 for ; Sun, 14 Aug 2016 13:42:21 +0200 (CEST) Received: (qmail 43063 invoked by uid 500); 14 Aug 2016 11:42:20 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 43046 invoked by uid 99); 14 Aug 2016 11:42:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Aug 2016 11:42:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6E5182C02A1 for ; Sun, 14 Aug 2016 11:42:20 +0000 (UTC) Date: Sun, 14 Aug 2016 11:42:20 +0000 (UTC) From: "Ahmet Arslan (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1304) ban usage of String.toUpperCase() without Locale MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 14 Aug 2016 11:42:22 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1304?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15420307#comment-15420307 ]=20 Ahmet Arslan commented on CONNECTORS-1304: ------------------------------------------ Thats great news, thanks Furkan! Do you mind documenting this new functiona= lity to https://cwiki.apache.org/confluence/display/CONNECTORS/HowToContrib= ute > ban usage of String.toUpperCase() without Locale > ------------------------------------------------ > > Key: CONNECTORS-1304 > URL: https://issues.apache.org/jira/browse/CONNECTORS-130= 4 > Project: ManifoldCF > Issue Type: Improvement > Components: SearchBlox connector > Affects Versions: ManifoldCF 2.4 > Reporter: Ahmet Arslan > Assignee: Ahmet Arslan > Fix For: ManifoldCF 2.5 > > > When relied on the default Locale, toUpperCase() is not reliable. For exa= mple: In SearchBloxConnector.java, "title_boost".toUpperCase() will yield {= {T=C4=B0TLE_BOOST}} on Turkish Locale and won't match {{TITLE_BOOST}}. We s= hould prevent this in a more permanent way. I would like to integrate Uwe's= [forbidden apis|https://github.com/policeman-tools/forbidden-apis] when I = have time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)