You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alexander Rytov (JIRA)" <ji...@apache.org> on 2010/12/08 13:44:02 UTC

[jira] Created: (VALIDATOR-290) Create new url validation using rfc3986 and IDN

Create new url validation using rfc3986 and IDN
-----------------------------------------------

                 Key: VALIDATOR-290
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-290
             Project: Commons Validator
          Issue Type: New Feature
          Components: Routines
    Affects Versions: 1.3.1 Release, 1.4
            Reporter: Alexander Rytov
            Priority: Critical


UrlValidation at the moment use old rfc2396 and doesn't check IDN (through punycode or something)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (VALIDATOR-290) Create new url validation using rfc3986 and IDN

Posted by "Alexander Rytov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VALIDATOR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Rytov updated VALIDATOR-290:
--------------------------------------

    Attachment: VALIDATOR-290-test.patch

> Create new url validation using rfc3986 and IDN
> -----------------------------------------------
>
>                 Key: VALIDATOR-290
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-290
>             Project: Commons Validator
>          Issue Type: New Feature
>          Components: Routines
>    Affects Versions: 1.3.1 Release, 1.4
>            Reporter: Alexander Rytov
>            Priority: Critical
>         Attachments: VALIDATOR-290-test.patch
>
>
> UrlValidation at the moment use old rfc2396 and doesn't check IDN (through punycode or something)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (VALIDATOR-290) Create new url validation using rfc3986 and IDN

Posted by "Alexander Rytov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VALIDATOR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042116#comment-13042116 ] 

Alexander Rytov commented on VALIDATOR-290:
-------------------------------------------

I think top-level domain names from http://www.iana.org/domains/root/db/ should be valid through UrlValidator.
I've attached test for international domain names to be passed.


> Create new url validation using rfc3986 and IDN
> -----------------------------------------------
>
>                 Key: VALIDATOR-290
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-290
>             Project: Commons Validator
>          Issue Type: New Feature
>          Components: Routines
>    Affects Versions: 1.3.1 Release, 1.4
>            Reporter: Alexander Rytov
>            Priority: Critical
>         Attachments: VALIDATOR-290-test.patch
>
>
> UrlValidation at the moment use old rfc2396 and doesn't check IDN (through punycode or something)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (VALIDATOR-290) Create new url validation using rfc3986 and IDN

Posted by "Nick Burch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VALIDATOR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040425#comment-13040425 ] 

Nick Burch commented on VALIDATOR-290:
--------------------------------------

What steps do you think Commons Validator should be doing here?

Currently, we consider www.xn--bcher-kva.ch (www.bücher.ch) to be valid.

If something more is needed, then http://tools.ietf.org/html/rfc3490 looks to be a good guide to going to and from IDN

> Create new url validation using rfc3986 and IDN
> -----------------------------------------------
>
>                 Key: VALIDATOR-290
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-290
>             Project: Commons Validator
>          Issue Type: New Feature
>          Components: Routines
>    Affects Versions: 1.3.1 Release, 1.4
>            Reporter: Alexander Rytov
>            Priority: Critical
>
> UrlValidation at the moment use old rfc2396 and doesn't check IDN (through punycode or something)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (VALIDATOR-290) Create new url validation using rfc3986 and IDN

Posted by "Alexander Rytov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VALIDATOR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042125#comment-13042125 ] 

Alexander Rytov commented on VALIDATOR-290:
-------------------------------------------

Here patch for international domain names checked

Usage: UrlValidation.isValid(java.net.IDN.toASCII(url))
Maybe for validation2  IDN translation needs to be included in isValid method

> Create new url validation using rfc3986 and IDN
> -----------------------------------------------
>
>                 Key: VALIDATOR-290
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-290
>             Project: Commons Validator
>          Issue Type: New Feature
>          Components: Routines
>    Affects Versions: 1.3.1 Release, 1.4
>            Reporter: Alexander Rytov
>            Priority: Critical
>         Attachments: VALIDATOR-290-test.patch, VALIDATOR-290.patch
>
>
> UrlValidation at the moment use old rfc2396 and doesn't check IDN (through punycode or something)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (VALIDATOR-290) Create new url validation using rfc3986 and IDN

Posted by "Alexander Rytov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VALIDATOR-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Rytov updated VALIDATOR-290:
--------------------------------------

    Attachment: VALIDATOR-290.patch

> Create new url validation using rfc3986 and IDN
> -----------------------------------------------
>
>                 Key: VALIDATOR-290
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-290
>             Project: Commons Validator
>          Issue Type: New Feature
>          Components: Routines
>    Affects Versions: 1.3.1 Release, 1.4
>            Reporter: Alexander Rytov
>            Priority: Critical
>         Attachments: VALIDATOR-290-test.patch, VALIDATOR-290.patch
>
>
> UrlValidation at the moment use old rfc2396 and doesn't check IDN (through punycode or something)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira