From 20cd69ceab919c23f598da74070241e7e3d5cca8 Mon Sep 17 00:00:00 2001 From: Jonas Leder <jonas@jonasled.de> Date: Mon, 28 Feb 2022 20:38:40 +0100 Subject: [PATCH] set maxlength for short url to 256 char --- app/templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/home.html b/app/templates/home.html index 9f3cce1..3345a46 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -36,7 +36,7 @@ {% else %} <input type="hidden" name="domain" id="domain" value={{domain}}> {% endif %} - <input id="short" name="short" type="text" placeholder="short name" value="{{short_url_prefilled}}"/> + <input id="short" name="short" type="text" placeholder="short name" maxlength="256" value="{{short_url_prefilled}}"/> {% if passwordProtected %} <input id="password" name="password" type="password" placeholder="Password"/> {% endif %} -- GitLab