Fixed wxFileSystem::FileNameToURL() regression with UNC paths.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 7 Apr 2010 18:59:51 +0000 (18:59 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 7 Apr 2010 18:59:51 +0000 (18:59 +0000)
commitc707d82e82cb8c0d52284c5d48d941e891f91872
tree2e156f115f3199c583008b4c361d2ec0528f5bbc
parentc4a7e284fdad7b60e698410847bf200137e72a19
Fixed wxFileSystem::FileNameToURL() regression with UNC paths.

We cannot use wxURI to do the escaping, because wxFileSystem depends on
use of nonstandard escaping and prefixes (wxURI eats away
file:// prefix, while wxFileSystem uses it to signify UNC paths;
wxFileSystem needs to escape #,: as well).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/filesys.cpp