[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [FIX] Prevent email spam protection while indexing
"Domeshow Emmanuel \(@Domeshow\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68b60f123b27c_2cdc9ec21654@gitlab-sidekiq-low-urgency-cpu-bound-v2-985d48548-w7tnp.mail> |
Domeshow Emmanuel pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki Commits: 8e96494b by Domeshow Emmanuel at 2025-09-02T00:18:14+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 --- * [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 (cherry picked from commit 8224a759e17c3a8c992a9c4e70a4ef8f03ec1a59) 74de5e8b [FIX] Prevent email spam protection while indexing Co-authored-by: Domeshow Emmanuel <[email protected]> See merge request tikiwiki/tiki!8470 - - - - - 1 changed file: - lib/parser/parserlib.php Changes: ===================================== lib/parser/parserlib.php ===================================== @@ -1349,7 +1349,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/8e96494b16ae8cc33fbc5d1b0f27d3c7adb89af2 -- View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/8e96494b16ae8cc33fbc5d1b0f27d3c7adb89af2 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