summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2019-04-04 15:10:05 +0200
committerUrban Müller2019-04-04 15:10:05 +0200
commitc466ea2af3f0a38116822347663b5a28ffd7553c (patch)
tree7032064835880ba885a40ade89f97ccea9d46444
parenta67235230eb2b9e4047df0521dd97903e55e0a66 (diff)
downloaditools-c466ea2af3f0a38116822347663b5a28ffd7553c.tar.gz
itools-c466ea2af3f0a38116822347663b5a28ffd7553c.tar.bz2
itools-c466ea2af3f0a38116822347663b5a28ffd7553c.zip
too many false positives atm
-rw-r--r--it_html.class6
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'] : "");
}