Defect #33701

URI check (for Custom Fields) overly restrictive (only http, https, ftp and mailto allowed)

Added by Holger Mößinger over 2 years ago. Updated almost 2 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Custom fields
Target version:-
Resolution: Affected version:4.1.1


When adding Custom Fields it is possible to specify an url to link to ("Link values to URL").

When trying to add a URL that points to a VOIP telephone number (sip scheme) the url is rejected as invalid.

In "" the URL validation happens in the function "validate_custom_field" ( with a call to "uri_with_safe_scheme" (

In "uri_with_safe_scheme" the only schemes allowed are 'http', 'https', 'ftp' and 'mailto'. There are so many other useful schemes out there nowadays, which Browsers know to handle that this restriction seems overly strict.

Is this check at all necessary? Especially for custom fields, where an administrator defines the URL?

Should not the Client/Brower take care of this anyway?


#1 Updated by Michael Schneider almost 2 years ago


Also available in: Atom PDF