summaryrefslogtreecommitdiffstats
path: root/src/client/ClientStore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r--src/client/ClientStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 2b7bb7f7..fd73c4b5 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -177,7 +177,7 @@ ClientStore::object(const Path& path)
SharedPtr<Resource>
ClientStore::resource(const URI& uri)
{
- if (uri.scheme() == Path::scheme && Path::is_valid(uri.str()))
+ if (Path::is_path(uri))
return object(uri.str());
else
return plugin(uri);