git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85544
13f79535-47bb-0310-9956-
ffa450edef68
if (r->finfo.protection == 0)
return NOT_FOUND;
- if (S_ISDIR(r->finfo.protection))
+ if (r->finfo.filetype == APR_DIR)
return FORBIDDEN;
/* Load the module */
/* IIS puts a trailing slash on directories, Apache doesn't */
- if (S_ISDIR (subreq->finfo.protection)) {
+ if (subreq->finfo.filetype == APR_DIR) {
int l = strlen((char *)lpvBuffer);
((char *)lpvBuffer)[l] = '\\';
if (r->finfo.protection == 0)
return NOT_FOUND;
- if (S_ISDIR(r->finfo.protection))
+ if (r->finfo.filetype == APR_DIR)
return FORBIDDEN;
/* Load the module */
/* IIS puts a trailing slash on directories, Apache doesn't */
- if (S_ISDIR (subreq->finfo.protection)) {
+ if (subreq->finfo.filetype == APR_DIR) {
int l = strlen((char *)lpvBuffer);
((char *)lpvBuffer)[l] = '\\';