Validate length of URL sent to Gitlab::UrlBlocker (max 2084 characters)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The following discussion from !107653 (merged) should be addressed:
-
@allison.browne started a discussion:
Follow-up(non-blocking):As a follow up we should probably give UrlBlocker a built in limit because some fields are not adding a length validation so anything could be stored in the database(without a database constraint). urls limits should typically be around 2083 at the highest:
https://www.sistrix.com/ask-sistrix/technical-seo/site-structure/url-length-how-long-can-a-url-be
Edited by 🤖 GitLab Bot 🤖