[
http://www.stripesframework.org/jira/browse/STS-685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter updated STS-685:
---------------------------
Fix Version/s: Release 1.6
Release 1.5.2
> The field-metadata tag can produce Javascript with errors from the "mask"
> property of @Validate
> -----------------------------------------------------------------------------------------------
>
> Key: STS-685
> URL: http://www.stripesframework.org/jira/browse/STS-685
> Project: Stripes
> Issue Type: Bug
> Components: Tag Library
> Affects Versions: Release 1.5.1
> Environment: Linux (probably doesn't matter)
> Reporter: Mike McNally
> Priority: Minor
> Fix For: Release 1.5.2, Release 1.6
>
>
> If an @Validate tag contains a regex with an unescaped slash (which, if it
> involves a slash at all - like for a URL - is likely, since to Java's regex
> engine the slash isn't a problem), the field-metadata tag code dumps the
> slashes straight out into a Javascript-syntax /regex/ value. Well the
> slashes make the Javascript interpreter unhappy.
> To work around the problem, the notation "\u002F" can be used instead of the
> slash, and that seems to work on the server (i.e., at validation time) and it
> doesn't make the browser unhappy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development