Skip to content

Commit

Permalink
fix(manager): referer should only check redhat DNS domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomáš Sasák authored and yungbender committed Nov 30, 2023
1 parent d9aca04 commit f61daa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
CVE_SYNOPSIS_SORT = [fn.SUBSTRING(SQL("cve_name"), r"-(\d+)-").cast("integer"),
fn.SUBSTRING(SQL("cve_name"), r"-(\d+)$").cast("integer")]

UI_REFERER = re.compile("console(.*).redhat.com")
UI_REFERER = re.compile("(.*).redhat.com")
API_SOURCE = "API"
UI_SOURCE = "UI"

Expand Down

0 comments on commit f61daa3

Please sign in to comment.