struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4476) URLUtil is deprecated but doesn't suggest a replacement
Date Sun, 03 Jan 2016 10:11:39 GMT

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

Lukasz Lenart commented on WW-4476:
-----------------------------------

{{URLUtil.verifyUrl()}} was used by {{UrlValidator}} to validate urls but it was a different
logic than client side validation which was based on RegEx. In Struts 2.5 it was unified,
there is no replacement. You can always copy/paste the source of the {{URLUtil}} and used
it internally.

> URLUtil is deprecated but doesn't suggest a replacement
> -------------------------------------------------------
>
>                 Key: WW-4476
>                 URL: https://issues.apache.org/jira/browse/WW-4476
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Jasper Rosenberg
>            Priority: Trivial
>              Labels: validation
>             Fix For: 2.3.25
>
>
> URLUtil.verifyUrl() doesn't suggest a replacement



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message