nginx dav module doesn't return directories with space in names in ubuntu precise and trusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Trying to set DAV with nginx, I am having a strange problem is that files with space in name are not returned only single words files.
I am running version 1.4.6 according to ubuntu.
Package: nginx-full
State: installed
Automatically installed: no
Version: 1.4.6-1ubuntu3.4
Priority: optional
Section: universe/httpd
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Uncompressed Size: 1,035 k
Depends: nginx-common (= 1.4.6-1ubuntu3.4), libc6 (>= 2.14), libexpat1 (>= 2.0.1), libgd3 (>= 2.1.0~alpha~), libgeoip1, libpam0g (>= 0.99.7.1), libpcre3, libssl1.0.0 (>= 1.0.1), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), zlib1g (>=
1:1.2.0)
Suggests: nginx-doc (= 1.4.6-1ubuntu3.4)
Conflicts: nginx-core, nginx-core, nginx-extras, nginx-extras, nginx-light, nginx-light, nginx-naxsi, nginx-naxsi, nginx-full
Here is my config file. Nothing special. Autoindex works fine
server {
listen 8888;
server_name localhost;
charset utf-8;
location / {
expires max;
root /var/www/webdav;
# NGINX WebDAV requires trailing slashes on directories, yet certain
# common WebDAV clients don't support them. Do rewrites to fix it,
if (-d $request_filename) { rewrite ^(.*[^/])$ $1/ break; }
if ($request_method = MKCOL) { rewrite ^(.*[^/])$ $1/ break; }
}
}
Thanks for your help
Pascal
Changed in nginx (Ubuntu): | |
status: | Incomplete → Won't Fix |
Here is the upstream issue: /github. com/arut/ nginx-dav- ext-module/ issues/ 6
https:/
It appears fixed in xenial and newer. If this is still an issue requiring a fix back to trusty please respond.