Skip to content

fix(util): catch homepage validation exceptions

Kevin Morris requested to merge kevr/aurweb:fix-homepage-validation into pu

We were allowing erroneous URLs through, raising exceptions, from e.g. http://[localhost:8444/blah. This patch catches any ValueErrors raised during the parse process and returns False, indicating that the validation failed.

Closes #250 (closed)

Signed-off-by: Kevin Morris kevr@0cost.org

Merge request reports