Invalid RELEASE_CHECK_URL never raises an error #4661

Closed
opened 2025-12-29 19:19:16 +01:00 by adam · 0 comments
Owner

Originally created by @jathanism on GitHub (Mar 13, 2021).

NetBox version

v2.10.6

Python version

3.8

Steps to Reproduce

  1. Define settings.RELEASE_CHECK_URL to an obviously invalid URL
  2. Start the server (such as with manage.py runserver

Expected Behavior

A ValidationError should be raised that results in an ImproperlyConfigured error.

Observed Behavior

No errors are raised.

It appears that the use of URLValidator to check the validity of the defined URL is not being used correctly and so a ValidationError will never be raised.

Originally created by @jathanism on GitHub (Mar 13, 2021). ### NetBox version v2.10.6 ### Python version 3.8 ### Steps to Reproduce 1. Define `settings.RELEASE_CHECK_URL` to an obviously invalid URL 2. Start the server (such as with `manage.py runserver` ### Expected Behavior A `ValidationError` should be raised that results in an `ImproperlyConfigured` error. ### Observed Behavior No errors are raised. It appears that the use of `URLValidator` to check the validity of the defined URL is not being used correctly and so a `ValidationError` will never be raised.
adam added the type: bugstatus: accepted labels 2025-12-29 19:19:16 +01:00
adam closed this issue 2025-12-29 19:19:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4661