Skip to content

Commit 9a41cb5

Browse files
committed
fix: correctly handle deny when there is no uuid
1 parent 7dd6cd5 commit 9a41cb5

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
44

55
### Unreleased
66

7+
### [2.2.3] - 2026-06-16
8+
9+
- fix: correctly handle deny when there is no uuid
10+
711
### [2.2.2] - 2026-06-16
812

913
- fix: correctly handle uuid when there is no trx uuid
@@ -210,3 +214,5 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
210214
[2.1.0]: https://github.com/haraka/haraka-plugin-watch/releases/tag/v2.1.0
211215
[2.2.0]: https://github.com/haraka/haraka-plugin-watch/releases/tag/v2.2.0
212216
[2.2.1]: https://github.com/haraka/haraka-plugin-watch/releases/tag/v2.2.1
217+
[2.2.2]: https://github.com/haraka/haraka-plugin-watch/releases/tag/v2.2.2
218+
[2.2.3]: https://github.com/haraka/haraka-plugin-watch/releases/tag/v2.2.3

CONTRIBUTORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This handcrafted artisanal software is brought to you by:
44

5-
| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/haraka-plugin-watch/commits?author=msimerson">83</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/918201?v=4"><br><a href="https://github.com/DoobleD">DoobleD</a> (<a href="https://github.com/haraka/haraka-plugin-watch/commits?author=DoobleD">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/550490?v=4"><br><a href="https://github.com/smfreegard">smfreegard</a> (<a href="https://github.com/haraka/haraka-plugin-watch/commits?author=smfreegard">1</a>) |
5+
| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/haraka-plugin-watch/commits?author=msimerson">85</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/918201?v=4"><br><a href="https://github.com/DoobleD">DoobleD</a> (<a href="https://github.com/haraka/haraka-plugin-watch/commits?author=DoobleD">2</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/550490?v=4"><br><a href="https://github.com/smfreegard">smfreegard</a> (<a href="https://github.com/haraka/haraka-plugin-watch/commits?author=smfreegard">1</a>) |
66
| :---: | :---: | :---: |
77

88
<sub>this file is generated by [.release](https://github.com/msimerson/.release).

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ exports.w_deny = function (next, connection, params) {
150150
const pi_name = params[2]
151151
const pi_hook = params[5]
152152

153+
if (!connection.uuid) return next() // outbound
154+
153155
connection.logdebug(this, `watch deny saw: ${pi_name} deny from ${pi_hook}`)
154156

155157
// a deny colors the offending plugin's cell; it does not end the

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "haraka-plugin-watch",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"description": "Watch live SMTP traffic in a web interface",
55
"main": "index.js",
66
"files": [

0 commit comments

Comments
 (0)