You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Eric Covener <co...@gmail.com> on 2009/08/12 20:00:30 UTC

$ as literal in DirectoryMatch

The undocumented behavior of suppressing the significance of '$' in
DirectoryMatch'es argument came up on IRC today.

ap_directory_walk() uses the AP_REG_NOTEOL macro to ask for this behavior.

Does anyone recall the rationale before documenting the current
behavior? Somewhat unusually, 1.3 doc actually has an example that
uses the $ as as anchor, but I didn't have a 1.3 server to test the
actual behavior on.

-- 
Eric Covener
covener@gmail.com

Re: $ as literal in DirectoryMatch

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Eric Covener wrote:
> The undocumented behavior of suppressing the significance of '$' in
> DirectoryMatch'es argument came up on IRC today.
> 
> ap_directory_walk() uses the AP_REG_NOTEOL macro to ask for this behavior.
> 
> Does anyone recall the rationale before documenting the current
> behavior? Somewhat unusually, 1.3 doc actually has an example that
> uses the $ as as anchor, but I didn't have a 1.3 server to test the
> actual behavior on.

svn blame is your friend.  A heck of a lot of work went into preserving
context of CVS through the svn transition.