I host a blog for a friend whose name happens to be Dave (Not our famous Dave), so I host it at http://kurup.org/dave.
I installed Forums recently, which installs oacs-dav.
oacs-dav registers preauth filters like so:
set prefix [parameter::get \
-package_id [apm_package_id_from_key "oacs-dav"] \
-parameter "WebDAVURLPrefix" \
-default "/dav"]
set url "${prefix}/*"
set filter_url "${prefix}*"
ns_register_filter preauth GET ${filter_url} oacs_dav::authorize
Unfortunately, this inadvertently catches http://kurup.org/dave. Is there a reason why filter_url can't be
"${prefix}/*"
?
Also, if someone has the time, I'm curious how I'd write an automated test to expose this bug (just for education's sake)?