Commit 48017dd3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

fs: DeviceLister: Ensure proper mountpoints mrl encoding

parent 10de486b
......@@ -258,7 +258,7 @@ std::vector<std::tuple<std::string, std::string, bool>> DeviceLister::devices()
}
}
auto removable = isRemovable( deviceName, mountpoint );
res.emplace_back( std::make_tuple( uuid, "file://" + mountpoint, removable ) );
res.emplace_back( std::make_tuple( uuid, utils::file::toMrl( mountpoint ), removable ) );
}
}
catch(std::runtime_error& ex)
......
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