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 1E70D200C47 for ; Thu, 30 Mar 2017 13:42:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1CC21160B8B; Thu, 30 Mar 2017 11:42:46 +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 63E63160B78 for ; Thu, 30 Mar 2017 13:42:45 +0200 (CEST) Received: (qmail 71258 invoked by uid 500); 30 Mar 2017 11:42:44 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 71247 invoked by uid 99); 30 Mar 2017 11:42:44 -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; Thu, 30 Mar 2017 11:42:44 +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 186E2C0750 for ; Thu, 30 Mar 2017 11:42:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-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 2YXz0Tr39Z3O for ; Thu, 30 Mar 2017 11:42:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AB8CD5FB62 for ; Thu, 30 Mar 2017 11:42:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id F3D07E00D9 for ; Thu, 30 Mar 2017 11:42:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B22FE21DD7 for ; Thu, 30 Mar 2017 11:42:41 +0000 (UTC) Date: Thu, 30 Mar 2017 11:42:41 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-7304) WADL generator doesn't work properly in case cyrillic characters is used in URL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Mar 2017 11:42:46 -0000 [ https://issues.apache.org/jira/browse/CXF-7304?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D159489= 00#comment-15948900 ]=20 Sergey Beryozkin commented on CXF-7304: --------------------------------------- The problem is that at the CXF level the address is "/=D0=BA=D0=B8=D1=80=D0= =B8=D0=BB=D0=B8=D1=86=D0=B0" but when the browser issues a request, each Cy= rrilic char is percent-encoded, hence the mismatch. The runtime must not de= code the %-encoded chars before the service is invoked. The same problem would apply if you had @Path("=D0=BA=D0=B8=D1=80=D0=B8=D0= =BB=D0=B8=D1=86=D0=B0") on one of the resource methods. I don't know how it should be processed. For ex, if one has @Path("some pat= h") then the runtime will ensure that the actual path value is "some%20path= ". I'm not sure yet if "=D0=BA=D0=B8=D1=80=D0=B8=D0=BB=D0=B8=D1=86=D0=B0" s= hould be automatically URL-encoded=20 In the short term set the URLEncoded value of "=D0=BA=D0=B8=D1=80=D0=B8=D0= =BB=D0=B8=D1=86=D0=B0" =20 > WADL generator doesn't work properly in case cyrillic characters is used = in URL > -------------------------------------------------------------------------= ------ > > Key: CXF-7304 > URL: https://issues.apache.org/jira/browse/CXF-7304 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 3.0.11 > Environment: Windows 10, Java 8 > Reporter: Marat > Priority: Minor > Attachments: org.open.cxf.issue-0.0.1-SNAPSHOT.war, org.open.cxf.= issue.zip, screenshot-1.png, screenshot-2.png > > > WADL generator doesn't work properly in case Cyrillic characters is used = in URL. WADL generator skips all methods description when URL contains Cyri= llic characters. If I replace Cyrillic characters in URL to Latin character= s generator will work fine. -- This message was sent by Atlassian JIRA (v6.3.15#6346)