From cef3e6025587f84b3efaddcb127b88deb8c32a02 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Mon, 11 May 2020 17:24:39 +0200 Subject: Remove obsolete itools javascript functions and loader/jsboot mechanism --- itjs.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'itjs.php') diff --git a/itjs.php b/itjs.php index c54d3a4..c5eab1c 100644 --- a/itjs.php +++ b/itjs.php @@ -43,7 +43,6 @@ if (it::match('\.gif$', $lastfile)) else if (it::match('\.css', $lastfile)) { header("Content-Type: text/css"); - $data .= "\n#it_boot_dom { display:none }\n"; # Append magic style for it_boot if (!it::match('^devel', $GLOBALS['ULTRASERVERTYPE'])) $data = it::replace(array('[ \t]*([{};])[ \t]*' => '$1', '/\*.*?\*/' => ""), $data); if (it::match('W3C_CSS_Validator', $_SERVER['HTTP_USER_AGENT']) || $_GET['w3c']) @@ -86,15 +85,4 @@ else if ($files && !it::match('\.html$', $lastfile)) if (strpos($data, " "%25", '.' => "%2e", 'e' => "%65", 'i' => "%69")), grapheme_strlen($data)); # Protect from Firewalls/Proxies altering Javascript source code -} - -echo it_untaint($data); - -?> +echo itjs::strip($data); -- cgit v1.2.3