Files
netbox/netbox
Jason Novinger 6747c82a1a Fixes #20498: Apply validation regex to URL custom fields
The validation_regex field was not being enforced for URL type custom
fields. This fix adds regex validation in two places:

1. to_form_field() - Applies regex validator to form fields (UI validation)
2. validate() - Applies regex check in model validation (API/programmatic)

Note: The original issue reported UI validation only, but this fix also
adds API validation for consistency with text field behavior and to
ensure data integrity across all entry points.
2025-10-19 18:30:54 -05:00
..
2025-06-03 08:58:16 -04:00
2025-10-15 14:25:43 -05:00
2025-07-16 09:52:58 -04:00
2025-10-15 14:25:43 -05:00