Commit 758e969c authored by Max Kellermann's avatar Max Kellermann

input/Open: use PathTraitsUTF8 to check UTF-8 path

parent a9a6a504
......@@ -34,7 +34,7 @@ InputStream::Open(const char *url,
Mutex &mutex, Cond &cond,
Error &error)
{
if (PathTraitsFS::IsAbsolute(url))
if (PathTraitsUTF8::IsAbsolute(url))
/* TODO: the parameter is UTF-8, not filesystem charset */
return OpenLocalInputStream(Path::FromFS(url),
mutex, cond, error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment