Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 19C3B192BF for ; Thu, 14 Apr 2016 11:46:43 +0000 (UTC) Received: (qmail 98886 invoked by uid 500); 14 Apr 2016 11:46:43 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 98833 invoked by uid 500); 14 Apr 2016 11:46:42 -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 98824 invoked by uid 99); 14 Apr 2016 11:46:42 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 11:46:42 +0000 Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPS id A83561A0046 for ; Thu, 14 Apr 2016 11:46:42 +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 AA24C60D90; Thu, 14 Apr 2016 11:46:41 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 59299] mod_macro syntax clash Date: Thu, 14 Apr 2016 11:46:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: Other Modules X-Bugzilla-Version: 2.4.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marc.stern@approach.be X-Bugzilla-Status: NEEDINFO 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: 7bit X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=59299 --- Comment #2 from Marc Stern --- Example of clash: RewriteCond %{condvar} %condval You expect %{condvar} to be a macro parameter but it will maybe be replaced because we defined somewhere else "Define codvar ...". Quite tricky to troubleshoot. 3 solutions: - modify mod_rewrite & mod_core (Define) - use other characters than %$ in mod_macro - use another character than {} as delimiter in macro parameters The third solution works without any change (for people aware about it). The second solution will avoid problems. If this is not done, documentation should at least speak about the problem and recommend solution 3. -- 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