[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Prevent email spam protection while indexing
"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68b5cd2d97df8_2cdc9ec94bf@gitlab-sidekiq-low-urgency-cpu-bound-v2-5db9d5874-jgbwz.mail> |
Jonny Bradley pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
2fa74b5a by Domeshow Emmanuel at 2025-09-01T16:35:13+00:00
[FIX] Prevent email spam protection while indexing
---
* [FIX] Prevent email spam protection while indexing
See merge request tikiwiki/tiki!8462
- - - - -
1 changed file:
- lib/parser/parserlib.php
Changes:
=====================================
lib/parser/parserlib.php
=====================================
@@ -1362,7 +1362,7 @@ class ParserLib extends TikiDb_Bridge
// email address ([email protected])
$patterns[] = "#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i";
- if ($this->option['protect_email'] && $this->option['print'] !== 'y' && $prefs['feature_wiki_protect_email'] == 'y') {
+ if ($this->option['protect_email'] && $this->option['print'] !== 'y' && $prefs['feature_wiki_protect_email'] == 'y' && $this->option['indexing'] == false) {
if (! $mail_protect_pattern) {
$mail_protect_pattern = "\\1" . TikiLib::protect_email("\\2", "\\3");
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/2fa74b5a1e2b67eb62ce9abe3418e757de734dc3
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/2fa74b5a1e2b67eb62ce9abe3418e757de734dc3
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs