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 015AF200CDD for ; Mon, 7 Aug 2017 18:27:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F3EE01639C3; Mon, 7 Aug 2017 16:27:08 +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 45FB6163A7B for ; Mon, 7 Aug 2017 18:27:08 +0200 (CEST) Received: (qmail 25949 invoked by uid 500); 7 Aug 2017 16:27:07 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 25940 invoked by uid 99); 7 Aug 2017 16:27:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2017 16:27:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F0BB9180809 for ; Mon, 7 Aug 2017 16:27:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id EWwqf530Bva8 for ; Mon, 7 Aug 2017 16:27:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id ADFA06111E for ; Mon, 7 Aug 2017 16:26:47 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 3FE82E010F for ; Mon, 7 Aug 2017 16:26:47 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id 8FD92605C7; Mon, 7 Aug 2017 16:26:44 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 61388] unescaped %0A (\n) within a RewriteMap prg: result can show other users requested sites Date: Mon, 07 Aug 2017 16:26:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_rewrite X-Bugzilla-Version: 2.4.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: tom.tao@protonmail.com X-Bugzilla-Status: NEEDINFO X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 archived-at: Mon, 07 Aug 2017 16:27:09 -0000 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D61388 --- Comment #2 from tom.tao@protonmail.com --- We use httpd.x86_64 (2.4.6-45.el7). The rewritemap prg gets the raw query, unescapes it and prints (because of = the now unescaped %0A (newline)) 2 lines to stdout. This results in the followi= ng behaviour: User A requests file X and gets file X. User B requests file Y and gets file Y User A requests file Z%0Aanything. From now on the results User A and User B are receiving are random. User A requests file X and gets file X or file Y or 404. User B requests file X and gets file X or file Y or 404. ... httpd -k graceful ... everything's ok again. --=20 You are receiving this mail because: You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org