OPTIONS *; fix by making a special case for this request
in directorywalk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91978
13f79535-47bb-0310-9956-
ffa450edef68
+Changes with Apache 1.3.24
+
+ *) Win32: Accept OPTIONS * requests. [Keith Wannamaker]
+
Changes with Apache 1.3.23
*) Unixware 7.0 and later did not have a default locking
ap_no2slash(test_filename);
num_dirs = ap_count_dirs(test_filename);
- if (!ap_os_is_filename_valid(r->filename)) {
+ if (!ap_os_is_filename_valid(r->filename) &&
+ !(r->method_number == M_OPTIONS && !strcmp(r->uri, "*"))) {
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r,
"Filename is not valid: %s", r->filename);
return HTTP_FORBIDDEN;