Opened 5 years ago

Last modified 5 years ago

#11435 new defect

dojox.validate.regexp.url is too specific with fragment identifiers

Reported by: markwubben Owned by: peller
Priority: high Milestone: tbd
Component: Dojox Version: 1.5.0rc1
Keywords: Cc: doughays peller dante
Blocked by: Blocking:


The fragment identifier is validated as such:


These days any character is used in the fragment identifier, for example the #! combo supported by Google. Also, URLs simply ending in # are treated as being invalid.

Can we change it to this instead?


Change History (1)

comment:1 Changed 5 years ago by peller

That's probably code carried over from Dojo 0.4, so feel free to improve. Is there anything on this in the RFC we can use that's better than ".*"?

Note: See TracTickets for help on using tickets.