forked from sbgodin/HtmGem
Fix handling of style parameter.
This commit is contained in:
parent
bbfd7dc396
commit
8431931215
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user