Fix handling of style parameter.

This commit is contained in:
Lazarus 2024-01-07 15:07:14 +01:00
parent bbfd7dc396
commit 8431931215

View File

@ -13,7 +13,10 @@ $php_self = $_SERVER['PHP_SELF']; // by default: /htmgem/index.php
$php_self_dir = dirname($php_self);
$url = @$_REQUEST["url"];
$style = htmlspecialchars(@$_REQUEST['style']);
if(isset(@$_REQUEST['style']))
$style = htmlspecialchars(@$_REQUEST['style']);
else
$style = "";
$urlRewriting = @$_REQUEST["rw"]=="1";