[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] XSS Sanitization (Translation): Change word to text filter

"Bruno Kambere \(@kambereBr\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68a8980e46e26_2cd6d1c22199@gitlab-sidekiq-low-urgency-cpu-bound-v2-5f94765dd4-d5mpm.mail>

Bruno Kambere pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
78ce15c3 by Bruno Kambere at 2025-08-22T19:08:24+03:00
[FIX] XSS Sanitization (Translation): Change word to text filter
---
* [FIX] XSS Sanitization (Translation): Change word to text filter

See merge request tikiwiki/tiki!8371

- - - - -


2 changed files:

- tiki-freetag_translate.php
- tiki-preference_translate.php


Changes:

=====================================
tiki-freetag_translate.php
=====================================
@@ -7,7 +7,7 @@
 $inputConfiguration = [
     [
         'staticKeyFilters'          => [
-            'type'     => 'word',              //post
+            'type'     => 'text',              //post
             'objId'    => 'word',              //post
             'save'     => 'bool',              //post
             'newtag'   => 'string',            //post


=====================================
tiki-preference_translate.php
=====================================
@@ -11,7 +11,7 @@ $inputConfiguration = [
         'save'                     => 'bool',            //post
         ],
         'staticKeyFiltersForArrays' => [
-            'new_val'               => 'word',       //post
+            'new_val'               => 'text',       //post
             'additional_languages'  => 'lang',       //post
         ],
     ],



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

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