-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.1.5
Python version
3.8
Steps to Reproduce
- Ensure
ALLOWED_URL_SCHEMESis not set in configuration.py - Create a custom field
- name 'blah'
- type 'URL'
- content types 'DCIM > Device'
- Browse to a device
- Enter URL
ssh://foointo the blah custom field (also tryssh://foo/,ssh://foo/bar)
Expected Behavior
URL to be accepted, since the default is:
default=(
'file', 'ftp', 'ftps', 'http', 'https', 'irc', 'mailto', 'sftp', 'ssh', 'tel', 'telnet', 'tftp', 'vnc',
'xmpp',
),
Observed Behavior
Errors
Blah
- Enter a valid URL.
Note also that http://foo is accepted but file://foo is not
n0i2
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application