Add Mega to comment link moderation (#4835)

This commit is contained in:
Gerard Guillemas Martos 2024-09-19 11:06:18 +01:00 committed by GitHub
parent 86f39ff253
commit 127b443f30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ jobs:
const regexReplacements = [
// File Sharing
{
pattern: /(www\.)?(box|dropbox|mediafire|sugarsync|tresorit|hightail|opentext|sharefile|citrixsharefile|icloud|onedrive|1drv)\.com\/[^\s\)]+/g,
pattern: /(www\.)?(box|dropbox|mediafire|sugarsync|tresorit|hightail|opentext|sharefile|citrixsharefile|icloud|onedrive|1drv|mega)(\.com|\.co\.nz)\/[^\s\)]+/g,
replacement: '[REDACTED]'
},
// Google Drive