Skip Menu |

This queue is for tickets about the Apache-ConfigFile CPAN distribution.

Report information
The Basics
Id: 40500
Status: rejected
Priority: 0/
Queue: Apache-ConfigFile

People
Owner: Nobody in particular
Requestors: doug.fischer [...] grantstreet.com
Cc: steve.grazzini [...] grantstreet.com
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.18
Fixed in: (no value)



CC: steve.grazzini [...] grantstreet.com
Subject: Patch to correct newline/comment stripping
The over-agressive comment-stripping caused problems with our svkc workdir paths (e.g. "GSG-App#trunk/whatever"). Apache docs say that: Lines which begin with the hash character "#" are considered comments, and are ignored. Comments may not be included on a line after a configuration directive. http://httpd.apache.org/docs/1.3/configuring.html#syntax So this seems more accurate
Subject: Apache-ConfigFile-1.18-comment_strip.patch
diff -PurN Apache-ConfigFile-1.18.orig/ConfigFile.pm Apache-ConfigFile-1.18/ConfigFile.pm --- Apache-ConfigFile-1.18.orig/ConfigFile.pm 2001-09-18 14:31:38.000000000 -0400 +++ Apache-ConfigFile-1.18/ConfigFile.pm 2008-08-13 13:18:39.000000000 -0400 @@ -204,7 +204,7 @@ $line++; # Strip newlines/comments - s/\s*#.*//; + s/^\s*#.*//; # If nothing's left, continue next unless $_;
Please use Config::ApacheFormat instead of this module