commit ac265c3704e81bc53637c26003f253252535a01a
parent c95f71b10ab0695df09604242ded31bdaa4acd04
Author: Silas Brack <silasbrack@gmail.com>
Date: Sun, 7 Jun 2026 18:15:55 +0200
fix: change URL field from type=url to type=text
type=url silently blocks form submission if the value isn't a
valid URL, with no visible error message to the user.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/edit.html b/templates/edit.html
@@ -15,7 +15,7 @@
<div class="form-group">
<label for="url">URL</label>
- <input type="url" id="url" name="url" value="{{ url }}" placeholder="https://" />
+ <input type="text" id="url" name="url" value="{{ url }}" placeholder="https://" />
</div>
<div class="form-separator">
diff --git a/templates/submit.html b/templates/submit.html
@@ -15,7 +15,7 @@
<div class="form-group">
<label for="url">URL</label>
- <input type="url" id="url" name="url" value="{{ url }}" placeholder="https://" />
+ <input type="text" id="url" name="url" value="{{ url }}" placeholder="https://" />
</div>
<div class="form-separator">