[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Explicitly pass the escape parameter to str_getcsv()

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6930a4fae2f88_2a7f08d34543ad@gitlab-sidekiq-low-urgency-cpu-bound-v2-76d8cdf8fc-gg594.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
4d9a5f8f by Yves Ngalamulume at 2025-12-03T20:52:30+00:00
[FIX]  Explicitly pass the escape parameter to str_getcsv()
---
* [FIX]  Explicitly pass the escape parameter to str_getcsv()

See merge request tikiwiki/tiki!9152

- - - - -


1 changed file:

- lib/trackers/trackerlib.php


Changes:

=====================================
lib/trackers/trackerlib.php
=====================================
@@ -6819,7 +6819,7 @@ class TrackerLib extends TikiLib
         return array_filter(
             array_map(function ($user) {
                 return trim($user ?? '');
-            }, is_array($value) ? $value : str_getcsv($value ?? '', escape: TikiLib::TIKI_GLOBAL_CSV_ESCAPE_CHAR)),
+            }, is_array($value) ? $value : str_getcsv($value ?? '', ',', '"', TikiLib::TIKI_GLOBAL_CSV_ESCAPE_CHAR)),
         );
     }
 



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4d9a5f8f7aa200b1f920e1435085dcbb6d1ce54a

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4d9a5f8f7aa200b1f920e1435085dcbb6d1ce54a
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.