[Dojo-checkins] [dojo] #10412: Allow mailto: in linkdialog

dojo trac at dojotoolkit.org
Thu Nov 26 05:40:56 EST 2009


#10412: Allow mailto: in linkdialog
--------------------------------------+-------------------------------------
 Reporter:  squashee                  |        Type:  enhancement
   Status:  new                       |    Priority:  normal     
Milestone:  tbd                       |   Component:  Editor     
  Version:  1.4.0b                    |    Severity:  normal     
 Keywords:  linkDialog mailto regexp  |  
--------------------------------------+-------------------------------------
 Currently mailto: links are considered invalid. I suggest adding it to the
 regexp or at least make it an optional addition.

 I'm no star when it comes to regexp but so far I have concluded that it
 needs modification in three places:

 1. Add the mailto protocol[[BR]]
 2. Allow ':' without subsequent slashes[[BR]]
 3. Allow '@' in the tld string[[BR]]

 I can se how this breaks validation in a bad way, so perhaps only add it
 as an option and disable by default?

-- 
Ticket URL: <http://trac.dojotoolkit.org/ticket/10412>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list