Defect #23833
closed
Unhandled exception on custom fields with mailto URL
Added by Jake Kemme almost 8 years ago.
Updated almost 8 years ago.
Description
When attempting to create a custom field that creates a mailto: hyperlink
![](/attachments/download/16687/customfield.png)
when clicking save:
![](/attachments/download/16686/customfielderror.png)
Files
The unhandled exception was due to a bug in ruby 2.2 in versions < 2.2.5 p284 (Issue 10738) The unhandled part was resolved by updating ruby to the latest 2.2.5 patch.
However, ruby URI.parse does not consider mailto: addresses invalid. The bug is that mailto:%value% is not in the form mailto:user@address.com (a valid email address). However, there is no other option to display clickable email addresses as a custom field. The validation here on the URL field should not apply, due to value being valid replacement syntax.
- Status changed from Needs feedback to Closed
- Resolution set to Invalid
Jake Kemme wrote:
The unhandled exception was due to a bug in ruby 2.2 in versions < 2.2.5 p284 (Issue 10738) The unhandled part was resolved by updating ruby to the latest 2.2.5 patch.
Thank you for your feedback.
However, ruby URI.parse does not consider mailto: addresses invalid. The bug is that mailto:%value% is not in the form mailto:user@address.com (a valid email address). However, there is no other option to display clickable email addresses as a custom field. The validation here on the URL field should not apply, due to value being valid replacement syntax.
Please create new issue.
Also available in: Atom
PDF