openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 40c64e56958dff0a39d1811440573acd9b2f769c
parent 589ddf6f084b87a67f46cdc1663015f55bb13196
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Sat,  5 Sep 2020 20:17:46 +0300

IsEcho - do not allow :

Diffstat:
Mii/msg.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ii/msg.go b/ii/msg.go @@ -40,7 +40,7 @@ func IsMsgId(id string) bool { func IsEcho(e string) bool { l := len(e) - return l >= 3 && l <= 120 && strings.Contains(e, ".") + return l >= 3 && l <= 120 && strings.Contains(e, ".") && !strings.Contains(e, ":") } func IsSubject(s string) bool {