[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][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 <68a89e5a2c0f3_2c10606ac228bb@gitlab-sidekiq-low-urgency-cpu-bound-v2-5f94765dd4-d5mpm.mail>

Bruno Kambere pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


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

See merge request tikiwiki/tiki!8371

See merge request tikiwiki/tiki!8372

- - - - -


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/eb1ec1eba8168d800b626da014b035f6cbb11de6

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