summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'] : "");
}