[hibernate-issues] [Hibernate-JIRA] Commented: (HV-229) @Url needs to be added

Ken Egervari (JIRA) noreply at atlassian.com
Tue Sep 22 06:01:50 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34006#action_34006 ] 

Ken Egervari commented on HV-229:
---------------------------------

I think something like this is okay if it's not back-compatible. I think 4.0 is a new release, it should provide new features that break away from the old code-base. If we do things in the name of backwards-compatibility all the time, then the library won't evolve to meet the needs of the future. Seeing that something like @Email was put in, I'm kind of wondering why @Url was not put in at the same time. Even so, it's not important to ask this question. @Url would make a wonderful addition to the library. Just about anyone downloading 4.0 will probably use it.

> @Url needs to be added
> ----------------------
>
>                 Key: HV-229
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-229
>             Project: Hibernate Validator
>          Issue Type: New Feature
>          Components: validators
>    Affects Versions: 3.1.0.GA
>            Reporter: Ken Egervari
>             Fix For: 4.1.0
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> It would be nice to have a @Url constraint. This is a very common use-case. The regular expression itself is tedious to write - there are tons of versions online. There could be options to allow for mailto: and others, to make it stronger or looser as needed by the application. However, a basic one would be a great addition to the library as lots and lots of users will need this to be sure.
> Thanks!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list