[TikiWiki-commits] [Git][tikiwiki/tiki][28.x] [FIX] Prevent email spam protection while indexing
"Domeshow Emmanuel \(@Domeshow\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68b6099265bc5_2cdca3c953a5@gitlab-sidekiq-low-urgency-cpu-bound-v2-985d48548-5gdvp.mail> |
Domeshow Emmanuel pushed to branch 28.x at Tiki Wiki CMS Groupware / Tiki Commits: 8224a759 by Domeshow Emmanuel at 2025-09-01T23:54:23+03:00 [FIX] Prevent email spam protection while indexing --- * [FIX] Prevent email spam protection while indexing --- * [FIX] Prevent email spam protection while indexing --- * [FIX] Prevent email spam protection while indexing See merge request tikiwiki/tiki!8462 (cherry picked from commit 2fa74b5a1e2b67eb62ce9abe3418e757de734dc3) e782d58a [FIX] Prevent email spam protection while indexing Co-authored-by: Domeshow Emmanuel <[email protected]> See merge request tikiwiki/tiki!8468 (cherry picked from commit 0a7cf40c64d684de21d96cd425b13b9ac15bdab6) 93645eb0 [FIX] Prevent email spam protection while indexing Co-authored-by: Domeshow Emmanuel <[email protected]> See merge request tikiwiki/tiki!8469 - - - - - 1 changed file: - lib/parser/parserlib.php Changes: ===================================== lib/parser/parserlib.php ===================================== @@ -1355,7 +1355,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/8224a759e17c3a8c992a9c4e70a4ef8f03ec1a59 -- View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/8224a759e17c3a8c992a9c4e70a4ef8f03ec1a59 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