You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ponymail.apache.org by sebbASF <gi...@git.apache.org> on 2016/09/13 12:39:14 UTC

[GitHub] incubator-ponymail issue #116: Bug: stats.lua - inconsistent use of anchors ...

GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/116

    Bug: stats.lua - inconsistent use of anchors in match patterns

    The stats.lua script uses string:match() lots of times when processing query parameters.
    
    In most cases the regex is not anchored, which means that the parameter can contain additional characters. This may cause unexpected behaviour, especially if the parameter is matched more than once with different REs.

----

----


---
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.
---

[GitHub] incubator-ponymail issue #116: Bug: stats.lua - inconsistent use of anchors ...

Posted by sebbASF <gi...@git.apache.org>.
Github user sebbASF commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/116
  
    However note that some parameters may contain sub-patterns, for example:
    
    &d=dfr=2000-3-31|dto=2000-5-31


---
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.
---