[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] Prevent email spam protection while indexing

"Domeshow Emmanuel \(@Domeshow\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68b603b87f433_2cdc9d864228@gitlab-sidekiq-low-urgency-cpu-bound-v2-985d48548-jltw5.mail>

Domeshow Emmanuel pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
0a7cf40c by Domeshow Emmanuel at 2025-09-01T23:28:15+03:00
[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

- - - - -


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/0a7cf40c64d684de21d96cd425b13b9ac15bdab6

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/0a7cf40c64d684de21d96cd425b13b9ac15bdab6
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.