Opened 13 years ago

Closed 12 years ago

#2347 closed defect (wontfix)

[dojox.validate] dojo.validate.isUrl("1234") returns true

Reported by: dchagastelles@… Owned by: dante
Priority: high Milestone:
Component: Dojox Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

dojo.validate.isUrl() returns true if the argument is an integer. I am sure this is not the expected behavior.

Change History (8)

comment:1 Changed 13 years ago by dylan

Milestone: 0.9
Status: newassigned

comment:2 Changed 12 years ago by Adam Peller

Component: ValidateDojox
Owner: changed from dylan to dante
Status: assignednew

comment:3 Changed 12 years ago by dante

Status: newassigned

comment:4 Changed 12 years ago by dante

Milestone: 0.91.0

comment:5 Changed 12 years ago by dante

Milestone: 1.01.1

this is a relatively old bug. moving from 1.0 milestone, was being too optimistic. any dojox.validate contributors welcome.

comment:6 Changed 12 years ago by dante

Summary: dojo.validate.isUrl("1234") returns true[dojox.validate] dojo.validate.isUrl("1234") returns true

comment:7 Changed 12 years ago by dante

Milestone: 1.1
Status: assignednew

bump

comment:8 Changed 12 years ago by dante

Resolution: wontfix
Status: newclosed

1234 is technically a valid url. technically.

Note: See TracTickets for help on using tickets.