Repository navigation
Rio 0.12.5 is a security release. Please upgrade.
When serving an asset, Rio checks that the requested path lies inside the asset directory. That check used Python's Path.absolute(), which, unlike Path.resolve() or os.path.abspath(), doesn't remove .. from a path. A crafted URL could therefore pass the check and read any file the server process has access to. Rio 0.12.5 fixes this issue.
It also contains additional hardening, such as nosniff and sandbox headers that keep browsers from running served files as part of the app, refusing javascript: URLs in links and navigation, and enforcing contracts of input components on the server.
This also fixes a crash on Windows when running an app in a window with a custom app icon that isn't an .ico file.
Upgrade with pip install --upgrade rio-ui