Files
Dwi Siswanto be678d9d7c fix(templates): keep -eid exclusions independent of -etags
NewTagFilter added an -eid value to the excluded IDs only when -etags
did not list the same value. The check came from the tag loops in
#1448, which changed the map it writes but not the map it reads. With
-eid dup -etags dup, the filter excluded nothing by ID. Workflow steps
still go through this filter, so a workflow ran the template that a -t
scan with the same flags excluded.

Build each filter set from its own flag with one helper, so no set
reads another flag's values. The insert-if-absent checks go too:
writing an existing map key is a no-op, and the one check that changed
anything was the wrong one. -itags stops deleting from the -etags set,
because Match already lets an included tag override its exclusion.

Fixes: #8004
Signed-off-by: Dwi Siswanto <[email protected]>
2026-11-02 19:33:26 +07:00
..
2026-09-05 17:48:50 +04:00
2026-09-05 17:48:50 +04:00
2026-10-06 15:19:34 +02:00
2026-10-25 21:46:31 +01:00
2023-10-17 17:44:13 +05:30
2026-09-30 22:28:21 +02:00
2024-06-25 12:26:18 +03:00
2025-10-10 17:32:54 +02:00