Fix URL matching in automod, censor, and spam plugin
This commit is contained in:
parent
682d8e9153
commit
9164bcd045
3 changed files with 23 additions and 1 deletions
|
@ -640,6 +640,7 @@ export class AutomodPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
|
||||
protected evaluateMatchLinksTrigger(trigger: TMatchLinksTrigger, str: string): boolean {
|
||||
const links = getUrlsInString(str, true);
|
||||
|
||||
for (const link of links) {
|
||||
const normalizedHostname = link.hostname.toLowerCase();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue