Closed
Bug 1898574
Opened 4 months ago
Closed 4 months ago
`check_maintenance` exception should do a None-check on `request.endpoint`
Categories
(Conduit :: Lando, defect, P3)
Conduit
Lando
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sheehan, Assigned: sheehan)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Flasks request.endpoint
has a type of str | None
, but the recent change from bug 1896696 always assumes the value is a str
. This causes an error when random internet scanners try non-existent endpoints in LandoAPI. We should add a None
-check to avoid this problem.
Comment 1•4 months ago
|
||
Assignee | ||
Updated•4 months ago
|
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•