Phone numbers in tel: URLs contain spaces in contravention of RFC3966 #16460
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v4.0.3
Python Version
3.11
Steps to Reproduce
+1 800 123 45 67
Expected Behavior
The URL generated should be
tel:+18001234567
, removing spaces as per RFC3966 section 5.1.1:Observed Behavior
The URL generated is actually
tel:+1 800 123 45 67
which neither strips nor URL-encodes the spaces.Inspecting the HTML code would show something like:
The text was updated successfully, but these errors were encountered: