From b8fadef8cb6da90e0795751644103cc99412b962 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 19 Sep 2009 00:38:12 +0000 Subject: [PATCH] unquote file URL's --- panda/src/downloader/bioPtr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/downloader/bioPtr.cxx b/panda/src/downloader/bioPtr.cxx index 85e9480e61..9bb03ab017 100644 --- a/panda/src/downloader/bioPtr.cxx +++ b/panda/src/downloader/bioPtr.cxx @@ -31,7 +31,7 @@ BioPtr:: BioPtr(const URLSpec &url) { if (url.get_scheme() == "file") { // We're just reading a disk file. - string filename = url.get_path(); + string filename = URLSpec::unquote(url.get_path()); #ifdef _WIN32 // 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