Public bug reported:

Binary package hint: mt-daapd

mt-daapd will refuse to scan some file whose name contains characters
like ? (and probably & and others). The error reported is for example

mt-daapd[9571]: Error opening [...]/Orbital/In Sides/07. Out There
Somewhere? Pt. 1.ogg: No such file or directory

The source file /src/io.c (io_open, io_urldecode, ...) expects to
receive a valid URL string, but /src/scan-ogg.c line 91 passes simply a
"file://"  prefix appended with the file name. When the file name
contains unescaped characters like ?, io_open will treat the part
following the character as an option string that is not part of the file
path.

I couldn't find an "io_urlencode" or a similar function to make a quick
test patch, but I could write one if needed.

** Affects: mt-daapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Scan fails when filename contains special URI characters
https://bugs.launchpad.net/bugs/201973
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to