Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If we get into a state where a category doesn't exist then we end up in a denial of service state. This impacts pages like My View, View Issues, and others. We can get into this state due to several cases that we should fix. However, there is no reason why we won't handle them like we handle unknown enumerations. This change adds a category_exists check in category_full_name() api, and changes category_exists to populate the cache to not incur extra overhead. Fixes #15420
- Loading branch information
Showing
1 changed file
with
11 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters