Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Database update from WebDAV ignores filenames with non-ASCII chars #662
Any directory or filenames with non-ASCII chars are ignored by
and then it's re-URL-encoding that filename to request
from the server.
Input: music directory
That's 3 albums, 30 tracks:
Output: resulting MPD database
MPD appears to have kept only the pure-ASCII album.
But it gets more fun: I've seen different behaviour on every run:
IOW: behaviour varies from run to run, and there might be more than one bug going on here. I'll concentrate on "ignores non-ASCII filenames" for this bug report.
Expected behaviour: output of
BTW, I'm positive that Apache is serving up all the filenames. When I use my desktop file browser to open
Here's what MPD logged while updating the database. This is on the most recent run, where it only captured albums with all-ASCII filenames.
And here's a snippet of Apache's access log while MPD was updating:
Note that the PROPFIND requests for files are fine -- no double encoding. It's the subsequent GET request that shows double encoding.