>Number: 4276 >Category: mod_rewrite >Synopsis: Rewriting with {prg:/my/rewriteprog} fails if URI contains %0A >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Apr 20 06:10:01 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.6 >Environment: Linux infong1 2.0.36 #1 Wed Mar 24 21:40:07 MET 1999 i686 unknown gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release) >Description: passing a URL to the rewriteprog wich contains %0A in fact passes 2 lines to the rewriteprog. Because of the recommeded structure of the rewriteprog (one line in, one line out) the apache gets back two lines wich is very confusing for it. >How-To-Repeat: Install a {prg:/my/rewriteprog} and pass a url containing %0A to it. >Fix: A workaround is to prepend a magic string to the url. If the rewriteprg cannot find the magic string at the begin of a inputline it should produce no output >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]