View Issue Details

IDProjectCategoryView StatusLast Update
0006467unrealjson-rpcpublic2024-09-08 10:17
Reporteradator Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.1.7.1 
Fixed in Version6.1.8-rc1 
Summary0006467: spamfilter.get always return "spamfilter not found" for config-based spamfilters
DescriptionSomeone (Syzop :p) ask me to report this bug by my self here
Joke aside, when i try to get a spamfilter (config based) it always return this response:
{"jsonrpc": "2.0", "method": "spamfilter.get", "id": 123, "error": {"code": -1000, "message": "Spamfilter not found"}}
Steps To Reproduce{"jsonrpc": "2.0", "method": "spamfilter.get", "params": {
  "name":"*#superbowl*#ʂυрérb​ỏwḷ",
  "match_type": "simple",
  "ban_action": "gline",
  "spamfilter_targets": "cp"
  },
  "id": 123
}
Additional Informationi am using both POST request and remote socket connection
Tagsjson-rpc
3rd party modules

Activities

syzop

2024-09-08 10:17

administrator   ~0023330

Fixed now, thanks for the report.

https://github.com/unrealircd/unrealircd/commit/c4c72ecaca6877740c3a7efe6f323cf3c89e30fa
commit c4c72ecaca6877740c3a7efe6f323cf3c89e30fa (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Sun Sep 8 10:15:24 2024 +0200

    Fix spamfilter.get unable to retrieve config-based spamfilters.
    Reported in https://bugs.unrealircd.org/view.php?id=6467 by adator.

Issue History

Date Modified Username Field Change
2024-09-07 17:38 adator New Issue
2024-09-07 17:38 adator Tag Attached: json-rpc
2024-09-08 09:17 syzop Summary spamfilter.get always return "spamfilter not found" => spamfilter.get always return "spamfilter not found" for config-based spamfilters
2024-09-08 10:17 syzop Assigned To => syzop
2024-09-08 10:17 syzop Status new => resolved
2024-09-08 10:17 syzop Resolution open => fixed
2024-09-08 10:17 syzop Fixed in Version => 6.1.8-rc1
2024-09-08 10:17 syzop Note Added: 0023330