mirror of https://github.com/aredn/aredn.git
Allow : in service names (#1638)
This commit is contained in:
parent
1464d61faf
commit
55c1ffed63
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue