• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

jsonoutput: kleines "update"

Started by kuerbis42, January 02, 2026, 06:15:14 PM  ( Read 1,466 times )

kuerbis42

Hallo zusammen,
ich beziehe mich auf https://forum.websitebaker.org/index.php?topic=24289.0
New module: JSON contentserver and JSONPage

Das Modul von Ruud - es funktioniert auch prima in WB2.13.x

Eine ganz kleine Sache habe ich geändert (in .\functions.php, Zeile 14 + 15)
vorher    if (isset($_GET[$name])) {
$rval = $wb->add_slashes($_GET[$name]);
 

nachher    if (isset($_REQUEST[$name])) {
$rval = $wb->add_slashes($_REQUEST[$name]);
 



dadurch sind dann auch Formular-POST-Aufrufe möglich.
Sollte jmd. darin ein Sicherheitsrisiko sehen, dann wäre ich über Rückmeldung erfreut.

Gruß
Kuerbis

    \n\n