View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005767 | unreal | ircd | public | 2020-10-03 09:45 | 2020-10-03 09:47 |
Reporter | ivanp | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 5.0.7-rc1 | ||||
Summary | 0005767: Spamfilter to ignore whitespaces | ||||
Description | It would nice to have option in spamfilter to eat all whitespaces before matching the regexp. Explanation: To block URLs like: <code> https://imgbbb.com/image/ABC123 </code> we are using /spamfilter regex: <code> imgbbb\.com </code> It worked fine until users started writing URLs like: <code> https :// im gbbb.com/image/ABC123 </code> So would need to modify regex to: <code> i\s*m\s*g\s*b\s*b\s*b[\s.]*c\s*o\s*m </code> Since having 100 different URLs similar to this one, this would slow down IRC. | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-10-03 09:45 | ivanp | New Issue |