[TikiWiki-commits] [Git][tikiwiki/tiki][28.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 <68a8a6c138ee_2cd6d1c28326@gitlab-sidekiq-low-urgency-cpu-bound-v2-5f94765dd4-l4sqp.mail>

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


Commits:
d88952e4 by Bruno Kambere at 2025-08-22T20:13:19+03:00
[BP][FIX] XSS Sanitization (Translation): Change word to text filter
---
* [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

See merge request tikiwiki/tiki!8373

- - - - -


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

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