File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9898 "/default" : " default~iris"
9999 },
100100 "patternProperties" : {
101- "^[a-z0-9-. _~]+$" : {
101+ "^[a-z0-9-_~]+$" : {
102102 "type" : " object" ,
103103 "description" : " A server definition, with properties that specify how to connect to it." ,
104104 "properties" : {
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ export async function addServer(
1717 if ( serverNames . filter ( ( server ) => server . name === value ) . length ) {
1818 return "Name already exists" ;
1919 }
20- if ( ! value . match ( / ^ [ a - z 0 - 9 - . _ ~ ] + $ / ) ) {
21- return "Can only contain a-z, 0-9 and punctuation -. _~" ;
20+ if ( ! value . match ( / ^ [ a - z 0 - 9 - _ ~ ] + $ / ) ) {
21+ return "Can only contain a-z, 0-9 and punctuation -_~" ;
2222 }
2323 return null ;
2424 } ,
You can’t perform that action at this time.
0 commit comments