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 CFDE5200BA6 for ; Tue, 18 Oct 2016 14:36:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CE79F160ADC; Tue, 18 Oct 2016 12:36:28 +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 1B618160ACC for ; Tue, 18 Oct 2016 14:36:27 +0200 (CEST) Received: (qmail 92428 invoked by uid 500); 18 Oct 2016 12:36:24 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 92412 invoked by uid 99); 18 Oct 2016 12:36:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2016 12:36:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A29DCC0DA9 for ; Tue, 18 Oct 2016 12:36:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Nj-63Urc14t5 for ; Tue, 18 Oct 2016 12:36:21 +0000 (UTC) Received: from thor.wissensbank.com (thor.wissensbank.com [81.169.250.120]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4D7ED5F230 for ; Tue, 18 Oct 2016 12:36:21 +0000 (UTC) Received: from thor.wissensbank.com (localhost [127.0.0.1]) by thor.wissensbank.com (Postfix) with ESMTP id 18C4415A60BE8 for ; Tue, 18 Oct 2016 14:36:03 +0200 (CEST) Received: by thor.wissensbank.com (Postfix, from userid 500) id 046AB15A6103E; Tue, 18 Oct 2016 14:36:03 +0200 (CEST) Received: from [192.168.245.214] (pd956abfc.dip0.t-ipconnect.de [217.86.171.252]) (Authenticated sender: andre.warnier@ice-sa.com) by thor.wissensbank.com (Postfix) with ESMTPA id 501F915A60BE8 for ; Tue, 18 Oct 2016 14:36:02 +0200 (CEST) Subject: Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem To: users@tomcat.apache.org References: <352db2ee-ea9e-a965-3543-0242ed7251c3@apache.org> <34f6f70a-b9cb-ac80-244d-7556d0a7dc28@kippdata.de> From: =?UTF-8?Q?Andr=c3=a9_Warnier_=28tomcat=29?= Message-ID: <58061731.7000203@ice-sa.com> Date: Tue, 18 Oct 2016 14:36:01 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP archived-at: Tue, 18 Oct 2016 12:36:29 -0000 On 18.10.2016 13:03, Mark Juszczec wrote: > On Tue, Oct 18, 2016 at 1:14 AM, Rainer Jung > wrote: > >> Am 17.10.2016 um 22:38 schrieb Mark Juszczec: >> >>> >>> >>> I've tried adding +ForwardURIEscaped in my conf file as follows: >>> >>> # JkOptions indicate to send SSL KEY SIZE, >>> JkOptions +ForwardKeySize +ForwardURIEscaped -ForwardDirectories >>> >>> I would have expected mod_jk log to show the data % encoded, but it does >>> not: >>> >>> text: J O Ë ‹ L >>> hex: 0x4a 0x4f 0xc3 0x8b 0x4c >>> >>> I had expected to see something like: >>> >>> JO%C3%8BL >>> >>> Is that reasonable? Does it make sense? >>> >> >> Yes. >> >> Could something be turning off the encoding? Do the headers values need to >>> be set to something specific? >>> >> >> Did you put the directive into the correct VirtualHost? >> >> >> Regards, >> >> Rainer >> > > No, the following line: > > JkOptions +ForwardKeySize +ForwardURIEscaped -ForwardDirectories > > is in an Apache conf file, but not in a VirtualHost entry. > > Can this directive go in multiple places? > See here : http://tomcat.apache.org/connectors-doc/reference/apache.html -->Forwarding JkOptions are generally inherited by the sections, from the "main" (or "default") Apache configuration (aka outside entries). But there are exceptions and additional rules, so check carefully. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org