diff options
author | Urban Müller | 2019-04-04 14:53:47 +0200 |
---|---|---|
committer | Urban Müller | 2019-04-04 14:53:47 +0200 |
commit | a67235230eb2b9e4047df0521dd97903e55e0a66 (patch) | |
tree | f820e0430fa838572900434be70a401063659689 | |
parent | 6a24a37e8e203ff0f7700fea0a3792dd387dc401 (diff) | |
download | itools-a67235230eb2b9e4047df0521dd97903e55e0a66.tar.gz itools-a67235230eb2b9e4047df0521dd97903e55e0a66.tar.bz2 itools-a67235230eb2b9e4047df0521dd97903e55e0a66.zip |
only enforce apache limit for now
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
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; |