Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 48291] New: mod_substitute loops

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Nov 26, 2009, 3:42 AM

Post #1 of 1 (224 views)
Permalink
[Bug 48291] New: mod_substitute loops

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: bugs [at] httpd
ReportedBy: marc.stern [at] approach


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: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.