You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2017/08/02 07:09:11 UTC

[jira] [Comment Edited] (WW-4834) Improve RegEx used to validate URLs

    [ https://issues.apache.org/jira/browse/WW-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16110434#comment-16110434 ] 

Lukasz Lenart edited comment on WW-4834 at 8/2/17 7:08 AM:
-----------------------------------------------------------

This won't pass

{code:java}
assertTrue(pattern.matcher("http://127.0.0.1").matches());
{code}


was (Author: lukaszlenart):
This won't pass

{code:java}
assertTrue(pattern.matcher("http://127.0.0.1").matches());
{java}

> Improve RegEx used to validate URLs
> -----------------------------------
>
>                 Key: WW-4834
>                 URL: https://issues.apache.org/jira/browse/WW-4834
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core, XML Validators
>    Affects Versions: 2.3.33, 2.5.12
>            Reporter: Lukasz Lenart
>             Fix For: 2.3.34, 2.5.13
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)