David Rose 16 лет назад
Родитель
Сommit
b8fadef8cb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      panda/src/downloader/bioPtr.cxx

+ 1 - 1
panda/src/downloader/bioPtr.cxx

@@ -31,7 +31,7 @@ BioPtr::
 BioPtr(const URLSpec &url) {
 BioPtr(const URLSpec &url) {
   if (url.get_scheme() == "file") {
   if (url.get_scheme() == "file") {
     // We're just reading a disk file.
     // We're just reading a disk file.
-    string filename = url.get_path();
+    string filename = URLSpec::unquote(url.get_path());
 #ifdef _WIN32 
 #ifdef _WIN32 
     // On Windows, we have to munge the filename specially, because it's
     // On Windows, we have to munge the filename specially, because it's
     // been URL-munged.  It might begin with a leading slash as well as
     // been URL-munged.  It might begin with a leading slash as well as