[Date Prev][Date Next] [Chronological] [Thread] [Top]

Semantics change in rewrite action flags (ITS#2896)



Full_Name: Pierangelo Masarati
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.74.43.82)


I recently changed the semantics of the '@' action flag
in the rewriteRule statement:

rewriteRule <regex match pattern> <substitution pattern> [<flags>]

The old behavior of the '@' flag alone was to apply
the rule once only and, in case of match, to return.

Now it applies the rule recursively and exits AFTER
with success.  This was necessary to allow the (much
useful) recursive application; the old behavior, as
clearly indicated in the man page, can be restored
by combining '@' with the "apply once" flag, e.g. ":@"

p.