From 6e71136964d819259492d84cd5e3ebf7bd73e33f Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Wed, 19 Jun 2013 16:53:07 +0100 Subject: [PATCH] Fixed issue #27. --- src/backend/helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/helpers.cpp b/src/backend/helpers.cpp index ea272bf4..e8668eaf 100644 --- a/src/backend/helpers.cpp +++ b/src/backend/helpers.cpp @@ -226,7 +226,7 @@ namespace boss { //URLs are UTF-8 encoded then any characters (equiv. their corresponding bytes) not in the unreserved set (equiv. their corresponding bytes) are replaced by a percentage sign followed by the hex representation of their binary value. string unreserved = "-.0123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"; //Unreserved in byte value order, plus the colon character since that's allowed for drive paths. - string url = "file://"; + string url = "file:///"; for (boost::filesystem::path::const_iterator it=file.begin(), endit=file.end(); it != endit; ++it) { string part = it->string(); if (part == "/") //Skip exta backslash after drive path.