tracker issue : CF-3130358

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

IsValid("url","http://en.wikipedia.org/wiki/Monkey_(TV_series)")

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Neil Pugh / Neil Pugh (Neil Pugh)

Created: 03/05/2012

Components: Language, Functions

Versions: 9.0.1

Failure Type:

Found In Build/Fixed In Build: 9.0.1 /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Win XP All

Vote Count: 0

Problem Description: IsValid("url","http://en.wikipedia.org/wiki/Monkey_(TV_series)") returns false when it is in fact a valid URL.

Steps to Reproduce: Dump the title of this post to screen.

Actual Result: False

Expected Result: True

Any Workarounds: Probably. Yes, remove parentheses' before with a call to  Replace().

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3130358

External Customer Info:
External Company:  
External Customer Name: drtyret
External Customer Email:  
External Test Config: My Hardware and Environment details: Windows XP.

Attachments:

Comments:

Too late to be taken up for ColdFusion 10. We will consider this in the next release.
Comment by Vamseekrishna N.
20359 | March 05, 2012 11:59:40 PM GMT
RFC 1738 originally defined parentheses as valid URL characters, but this was superseded by RFC 3986 (http://www.rfc-editor.org/rfc/rfc3986.txt) where parentheses are now defined as sub-delimiters. If they are included in a URL as part of the URL they should technically be escaped using the appropriate % code to be considered valid.
Comment by External U.
20360 | April 18, 2012 03:25:32 PM GMT
insrq - that may be technically correct (I haven't checked) but this URL works fine on the current version of Chrome, Firefox and IE. Pragmatically I think most developers want a function that determines whether a URL is valid for a browser, not if it meets standards that are not adhered to.
Comment by External U.
20361 | September 03, 2012 05:45:58 AM GMT