struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sdutry <...@git.apache.org>
Subject [GitHub] struts issue #157: WW-4834 fixed faulty regex
Date Thu, 03 Aug 2017 16:35:32 GMT
Github user sdutry commented on the issue:

    https://github.com/apache/struts/pull/157
  
    > After the commit above, any IP with 3 digits in the last octet will not pass validation
    
    You are right, i forgot the grouping (meaning the or statements mean something completely
different), i'll fix this ASAP
    
    > The expression did not seem to work at all until I escaped the slashes, changing
/ to \/
    I don't see why this would be. I am not aware that a "/" is a special sign inside a java
string or java RegEx. Or is it because this same regex is used in javascript regex validation
(where the '/' sign does mean something). I'll change it back ASAP too


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message