>Number: 2514 >Category: mod_rewrite >Synopsis: Internal RewriteMaps (eg. tolower) loop when given null input >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Jun 26 09:20:01 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.0 >Environment: (RedHat 5.0) Linux 2.0.35pre1 i686 (GCC 2.7.2.3-8 rpm) >Description: Using the rewrite rules given in 'How can we repeat this problem?', although a request of '/artichoke/hello' redirects to '/artichoke/HELLO', a request of '/artichoke' or '/artichoke/' hangs. This occurs with tolower and toupper, but not (AFAICS) with prg: maps. >How-To-Repeat: RewriteMap uc int:toupper RewriteRule ^/artichoke(/(.*)$|$) /artichoke/${uc:$2} [R=permanent] >Fix:
>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. ]