Commit 0c3c04d7 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

fs: DeviceLister: Ensure proper mountpoints mrl encoding

(cherry picked from commit 48017dd3)
Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 7d2ced15
......@@ -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