Allow : in service names (#1638)

This commit is contained in:
Tim Wilkinson 2024-10-17 12:54:43 -07:00 committed by GitHub
parent 1464d61faf
commit 55c1ffed63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -212,7 +212,7 @@ if (f) {
<div class="service adr"> <div class="service adr">
<div class="cols"> <div class="cols">
<div class="cols"> <div class="cols">
<input name="name" type="text" placeholder="{{s.link === false ? 'service information' : 'service name'}}" required pattern='[^:"|<>]+' value="{{s.name}}"> <input name="name" type="text" placeholder="{{s.link === false ? 'service information' : 'service name'}}" required pattern='[^"|<>]+' value="{{s.name}}">
<div style="flex:0;margin-left:2px"> <div style="flex:0;margin-left:2px">
<select name="type"> <select name="type">
<option value="">-</option> <option value="">-</option>
@ -475,7 +475,7 @@ if (f) {
template = `<div class="service adr"> template = `<div class="service adr">
<div class="cols"> <div class="cols">
<div class="cols"> <div class="cols">
<input name="name" type="text" placeholder="service name" required pattern='[^:"|<>]+' value="${t.text || t.name}"> <input name="name" type="text" placeholder="service name" required pattern='[^"|<>]+' value="${t.text || t.name}">
<div style="flex:0;margin-left:2px"> <div style="flex:0;margin-left:2px">
<select name="type"> <select name="type">
<option value="">-</option> <option value="">-</option>
@ -501,7 +501,7 @@ if (f) {
template = `<div class="service adr"> template = `<div class="service adr">
<div class="cols"> <div class="cols">
<div class="cols"> <div class="cols">
<input name="name" type="text" placeholder="service name" required pattern='[^:"|<>]+' value="${t.text || t.name}"> <input name="name" type="text" placeholder="service name" required pattern='[^"|<>]+' value="${t.text || t.name}">
<div style="flex:0;margin-left:2px"> <div style="flex:0;margin-left:2px">
<select name="type"> <select name="type">
<option value="">-</option> <option value="">-</option>