CasaOS
CasaOS copied to clipboard
[Bug] CasaOS UI Fails to Render "<>" in Docker Logs
CasaOS Bug Report
Describe the bug
Docker logs are not displaying correctly. Specifically, strings with the format <> are not rendered properly in the CasaOS UI, even though they are present in the network response. This seems to be a frontend rendering issue.
To Reproduce
- Run a Docker container that logs a string with the format
<>. For example:print("<Job (id=./xxxx.py name=run_python)>") - Go to the "Apps" section in CasaOS.
- Click on the app that corresponds to the running Docker container.
- Go to the "Logs" tab.
- Observe that the string with the format
<>is not rendered correctly.
Expected behavior
The string with the format <> should be rendered correctly in the CasaOS UI, just like any other log message.
Screenshots
Desktop
- OS: Debian 12
- Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
- CasaOS: 0.4.9