From a67235230eb2b9e4047df0521dd97903e55e0a66 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 4 Apr 2019 14:53:47 +0200 Subject: only enforce apache limit for now --- it_html.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_html.class b/it_html.class index 65d1eaa..ac84b6b 100644 --- a/it_html.class +++ b/it_html.class @@ -549,7 +549,7 @@ static function U(/* ... */) } $url = $schemepart . $u['path'] . ($u['query'] ? "?" . $u['query'] : "") . ($u['fragment'] ? "#" . $u['fragment'] : ""); - if (strlen($url) >= 2000) + if (strlen($url) >= 8000) it::error(['title' => 'url too long', 'body' => $url]); return $url; -- cgit v1.2.3