[
https://issues.apache.org/jira/browse/VALIDATOR-453?focusedWorklogId=192278&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-192278
]
ASF GitHub Bot logged work on VALIDATOR-453:
--------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Jan/19 13:37
Start Date: 30/Jan/19 13:37
Worklog Time Spent: 10m
Work Description: michael-o commented on pull request #17: VALIDATOR-453
support unicode characters in paths
URL: https://github.com/apache/commons-validator/pull/17
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 192278)
Time Spent: 20m (was: 10m)
> UrlValidator.isValidPath does not support unicode characters
> ------------------------------------------------------------
>
> Key: VALIDATOR-453
> URL: https://issues.apache.org/jira/browse/VALIDATOR-453
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.6
> Reporter: Leo-Andreas Ervik
> Priority: Major
> Labels: Unicode, UrlValidator
> Time Spent: 20m
> Remaining Estimate: 0h
>
> LinkedIn allows unicode characters such as æøå in their urls, which fails due
> to the PATH_REGEX using only w
> Old:
> {code:java}
> private static final String PATH_REGEX =
> "^(/[-\\w:@&?=+,.!/~*'%$_;\\(\\)]*)?$";
> {code}
> New:
> {code:java}
> private static final String PATH_REGEX =
> "^(/[-\\w\\pL:@&?=+,.!/~*'%$_;\\(\\)]*)?$";
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)