From c466ea2af3f0a38116822347663b5a28ffd7553c Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 4 Apr 2019 15:10:05 +0200 Subject: too many false positives atm --- it_html.class | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/it_html.class b/it_html.class index ac84b6b..390e8ae 100644 --- a/it_html.class +++ b/it_html.class @@ -548,11 +548,7 @@ static function U(/* ... */) $u['query'] = it_url::params($u['params'] + $params); } - $url = $schemepart . $u['path'] . ($u['query'] ? "?" . $u['query'] : "") . ($u['fragment'] ? "#" . $u['fragment'] : ""); - if (strlen($url) >= 8000) - it::error(['title' => 'url too long', 'body' => $url]); - - return $url; + return $schemepart . $u['path'] . ($u['query'] ? "?" . $u['query'] : "") . ($u['fragment'] ? "#" . $u['fragment'] : ""); } -- cgit v1.2.3