https://issues.apache.org/bugzilla/show_bug.cgi?id=48291

           Summary: mod_substitute loops
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_substitute
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The following command "s/123/abc123def/" on the input "*123*" gives
"abcabc123defdef"
Substitution is made twice (why not 3 times, 4 times,... ?).
Flatening the bucket or not does not changing anything.

I see this as a bug.
If this is considered as a feature, it should definitely be documented.
And a flag to replace only once would be a great feature.

In case the above case is not considered as a bug, the following behaviour will
be much more difficult to explain:
   s/123/abcxxxdef/
   s/xxx/123/
When applied on "*123*", becomes "abcabc123defdef".
By issuing two successive commands, I cannot understand why the first one is
executed again after the second one ?!?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to