mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
This removes a false-positive ReDoS, since the input is always checked-in code. It also incidentally refactors to make the regexes be more explicit about the values they expect, and removes unnecessary capturing groups. It removes an optional parenthesized status code for fixtures, unnecessary since981e4f8946, as well as optional key-value language options, unnecessary sincea2be9a0e2d. Thank you to @erik-krogh and @yoff for bringing this to our attention.
5.8 KiB
5.8 KiB