0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-04 21:05:26 +00:00

Fix slug validation regex

This commit is contained in:
Pēteris Caune 2023-08-17 11:51:57 +03:00
parent abe0b28926
commit f8d8ca56b2
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@
type="text"
maxlength="100"
value="{{ check.slug }}"
pattern="[a-z0-9_-]+"
pattern="[a-z0-9_\-]+"
class="form-control" />
<span class="input-group-btn">
<button

View file

@ -45,7 +45,7 @@
type="text"
maxlength="100"
value="{{ check.slug }}"
pattern="[a-z0-9_-]+"
pattern="[a-z0-9_\-]+"
data-src-id="update-name-input"
data-btn-id="use-suggested"
data-preview-id="slug-help"