[TikiWiki-commits] [Git][tikiwiki/tiki][26.x] [FIX] use jitGet besides _GET global var when replacing argvariables - e.g....
"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68e8cec978401_2c2e59e4c786a3@gitlab-sidekiq-low-urgency-cpu-bound-v2-67f7b598f6-2twzb.mail> |
Victor Emanouilov pushed to branch 26.x at Tiki Wiki CMS Groupware / Tiki
Commits:
8a5dd126 by Victor Emanouilov at 2025-10-10T12:15:46+03:00
[FIX] use jitGet besides _GET global var when replacing argvariables - e.g. ajax services have the _GET global one reset and filtered
- - - - -
1 changed file:
- lib/parser/parserlib.php
Changes:
=====================================
lib/parser/parserlib.php
=====================================
@@ -1842,7 +1842,7 @@ class ParserLib extends TikiDb_Bridge
//*
public function parse_wiki_argvariable(&$data)
{
- global $prefs, $user;
+ global $prefs, $user, $jitGet;
$tikilib = TikiLib::lib('tiki');
$smarty = TikiLib::lib('smarty');
@@ -2245,6 +2245,8 @@ class ParserLib extends TikiDb_Bridge
default:
if (isset($_GET[$name])) {
$value = $_GET[$name];
+ } elseif ($jitGet->offsetExists($name)) {
+ $value = $jitGet->offsetGet($name);
} else {
$value = '';
include_once('lib/wiki-plugins/wikiplugin_showpref.php');
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/8a5dd1261483c994a4613ecc7b7fc1f324b43e1a
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/8a5dd1261483c994a4613ecc7b7fc1f324b43e1a
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