Werk #22202 · Sep 14, 26
Robot Framework logs: report an invalid log type instead of crashing
Opening a Robot Framework log with an unknown log type in the URL replaced the page with a crash report:
C+: ValueError: 'something' is not a valid LogType C-:
Only "ok" and "error" are valid, and the value comes straight from the URL, so anything else ended up as a crash. In practice this was hit by security scanners walking the interface with made-up parameter values, which filled the crash report list with reports that needed triaging.
The page now reports an invalid log type as a normal input error, the same way an invalid host name in the same URL has always been reported.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedProUltimateUltimate + MTCloud