Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 108B117552 for ; Fri, 20 Feb 2015 15:50:40 +0000 (UTC) Received: (qmail 45158 invoked by uid 500); 20 Feb 2015 15:50:14 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 45129 invoked by uid 500); 20 Feb 2015 15:50:14 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 45119 invoked by uid 99); 20 Feb 2015 15:50:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2015 15:50:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of v0idnull@gmail.com designates 209.85.192.178 as permitted sender) Received: from [209.85.192.178] (HELO mail-pd0-f178.google.com) (209.85.192.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2015 15:49:48 +0000 Received: by pdjz10 with SMTP id z10so8327688pdj.12 for ; Fri, 20 Feb 2015 07:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EIFzK2vVJyKwcDAjdKCZLXs+gUWcuAq8muB39nO5Ua8=; b=hEPHoEC41q8/MDY4zv5bqsq6Tky3aSPujYDW1gQm6egANe1d2Hl600dqCX3V3aOv0+ 5gk7k1JAa9F6pzf+nbaVxL9SaFlbM6Vsm+5xzv+W6Bobg7ZkqRuP+KzTW93LXQuFjs11 Ks50UX+bsOfgQ8qFW89mbR967eAdNj0/9v2C1DGkyzkID6VLtXQxjvl6cTCKX/bav+rA v9MmOLVetgdsgnvwN2AlagVJjMKdWIVRh3sIjmXFg5tYzD9cm1pYAI+zYWSNOJba0BQE N0aYvNBFdaf5C5J5T9oh48u7jAuFksEQpd7u2pH+7YADNBv9bKgcFvQFvWUKgDM3XMpv 5ZgA== MIME-Version: 1.0 X-Received: by 10.69.27.42 with SMTP id jd10mr17722975pbd.97.1424447386434; Fri, 20 Feb 2015 07:49:46 -0800 (PST) Received: by 10.70.83.70 with HTTP; Fri, 20 Feb 2015 07:49:46 -0800 (PST) Date: Fri, 20 Feb 2015 10:49:46 -0500 Message-ID: From: v0id null To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001a1135ee4678430e050f870020 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Proxy decodes URLs --001a1135ee4678430e050f870020 Content-Type: text/plain; charset=UTF-8 So lets say I have a simple Vhost: ServerName foobar # proxy a tomcat server ProxyPass /proxy-dir/context http://localhost:8080/context When I make a request to http://foobar/proxy-dir/context/username%40domain Tomcat receives http://localhost:8080/context/username@domain This is an invalid URL. How can I prevent mod_proxy from urldecoding requests? thanks, --alex --001a1135ee4678430e050f870020 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
So lets say I= have a simple Vhost:

<VirtualHost *:80>
=C2=A0=C2=A0= =C2=A0 ServerName foobar

=C2=A0=C2=A0=C2=A0 # proxy a tom= cat server
=C2=A0=C2=A0=C2=A0 ProxyPass /proxy-dir/context http://localhost:8080/context
</VirtualHost>

When I make a request to http://foobar/proxy-dir/c= ontext/username%40domain

Tomcat receives http://localhost:8080/context/user= name@domain

This is an invalid URL.

How can I= prevent mod_proxy from urldecoding requests?

thanks,
--alex
--001a1135ee4678430e050f870020--