You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/12/27 16:29:14 UTC

[incubator-ponymail-foal] branch master updated (1df39b3 -> 3e57635)

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git.


    from 1df39b3  Docco
     new 5e96129  Impossible check for '--word'
     new 3e57635  Version update

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 server/plugins/defuzzer.py | 2 +-
 server/server_version.py   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

[incubator-ponymail-foal] 02/02: Version update

Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 3e57635574b26ba1f5bc48d62532f0a981430200
Author: Sebb <se...@apache.org>
AuthorDate: Mon Dec 27 16:29:03 2021 +0000

    Version update
---
 server/server_version.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/server_version.py b/server/server_version.py
index 9de4e01..120d055 100644
--- a/server/server_version.py
+++ b/server/server_version.py
@@ -1,2 +1,2 @@
 # This file is generated by server/update_version.sh
-PONYMAIL_SERVER_VERSION = '17ecaa3'
+PONYMAIL_SERVER_VERSION = '5e96129'

[incubator-ponymail-foal] 01/02: Impossible check for '--word'

Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 5e96129a00068f68451fe961c07d3125a5df6e34
Author: Sebb <se...@apache.org>
AuthorDate: Mon Dec 27 16:28:47 2021 +0000

    Impossible check for '--word'
    
    This fixes #198
---
 server/plugins/defuzzer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/plugins/defuzzer.py b/server/plugins/defuzzer.py
index c8f64e2..65dd0a5 100644
--- a/server/plugins/defuzzer.py
+++ b/server/plugins/defuzzer.py
@@ -156,7 +156,7 @@ def defuzz(formdata: dict, nodate: bool = False, list_override: typing.Optional[
         for bit in bits:
             force_positive = False
             # Translate -- into a positive '-', so you can find "-1" etc
-            if bit[0:1] == "--":
+            if bit[0:2] == "--":
                 force_positive = True
                 bit = bit[1:]
             # Negatives