Defect #23833
closedUnhandled exception on custom fields with mailto URL
0%
Description
When attempting to create a custom field that creates a mailto: hyperlink
when clicking save:
Files
Updated by Toshi MARUYAMA about 8 years ago
- File mailto.png mailto.png added
- Status changed from New to Needs feedback
I cannot reproduce.
Please see submissions.
Updated by Jake Kemme about 8 years ago
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.
Updated by Toshi MARUYAMA about 8 years ago
- 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.