diff options
author | Urban Müller | 2019-04-04 15:10:05 +0200 |
---|---|---|
committer | Urban Müller | 2019-04-04 15:10:05 +0200 |
commit | c466ea2af3f0a38116822347663b5a28ffd7553c (patch) | |
tree | 7032064835880ba885a40ade89f97ccea9d46444 /it_html.class | |
parent | a67235230eb2b9e4047df0521dd97903e55e0a66 (diff) | |
download | itools-c466ea2af3f0a38116822347663b5a28ffd7553c.tar.gz itools-c466ea2af3f0a38116822347663b5a28ffd7553c.tar.bz2 itools-c466ea2af3f0a38116822347663b5a28ffd7553c.zip |
too many false positives atm
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 6 |
1 files changed, 1 insertions, 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'] : ""); } |