[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] Newsletters: unsubscribe and confirm_subscription input filters were...

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69d168151141d_3b5c6e3b49345c@gitlab-sidekiq-low-urgency-cpu-bound-v2-664f654ff4-n4jcv.mail>

ushindi bienvenu pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
a08ec92b by Bernard Sfez at 2026-04-04T19:28:10+00:00
[BP][FIX] Newsletters: unsubscribe and confirm_subscription input filters were...
---
* [BP][FIX] Newsletters: unsubscribe and confirm_subscription input filters were set to 'bool', casting MD5 hash codes to 1 and breaking both unsubscribe and subscription confirmation links

See merge request tikiwiki/tiki!9859

- - - - -


1 changed file:

- tiki-newsletters.php


Changes:

=====================================
tiki-newsletters.php
=====================================
@@ -12,8 +12,8 @@ $section = 'newsletters';
 $inputConfiguration = [
     [
         'staticKeyFilters'     => [
-        'unsubscribe'          => 'bool',        //post
-        'confirm_subscription' => 'bool',        //post
+        'unsubscribe'          => 'word',        //post
+        'confirm_subscription' => 'word',        //post
         'nlId'                 => 'int',         //post
         'subscribe'            => 'bool',        //post
         'email'                => 'email',       //post



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a08ec92bbe0cf541ac86eafd34d7584040035f51
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
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.