tracker issue : CF-4199822

select a category, or use search below
(searches all categories and all time range)
Title:

isvalid function email type validation results are not same in CF10 and CF16

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Raghuram Reddy / Raghuram Reddy ()

Created: 09/26/2017

Components: Language, Functions

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: 2016,0,03,301771 /

Priority/Frequency: Normal /

Locale/System: / Solaris All

Vote Count: 0

Problem Description: isvalid function email type validation results are not same in CF10 and CF16

Steps to Reproduce: Run below code in CF10 and CF16
isValid("email", "test@test"):  <cfoutput> #isValid("email", "test@test")# </cfoutput>

Actual Result:
CF16 the result is : YES
CF10 the result is : NO

Expected Result:
CF16 result should be : NO

Any Workarounds:

Attachments:

Comments:

isValid inbuilt function will be used in most of the application pages to validate input email. Inbuilt function throwing wrong results is Normal priority bug for Adobe? please prioritize this bug and do the needful.
Comment by Raghuram R.
301 | October 05, 2017 08:40:38 PM GMT
Raghuram, test@test is a valid email as defined in the SMTP protocol. https://tools.ietf.org/html/rfc5321#section-2.3.5 You can also have a look at the comments on bug #CF-3944862 for a little more insight. test@test.com is recognized as a valid email, ColdFusion 11 onwards. Closing the bug as, Withdrawn > Not a Bug.
Comment by Immanuel N.
302 | October 07, 2017 12:25:52 PM GMT