File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,9 @@ function normalizeTd(td) {
6363
6464 function formconv ( intr , f , affordance ) {
6565 if ( f . hasOwnProperty ( "href" ) ) {
66- f . href = url . resolve ( baseUrl , f . href ) ; // decodeURIComponent(url.resolve(baseUrl, f.href));
66+ f . href = url . resolve ( baseUrl , f . href )
67+ . replace ( / % 7 B / gi, '{' )
68+ . replace ( / % 7 D / gi, '}' ) ;
6769 }
6870 if ( f . hasOwnProperty ( "security" ) && typeof f . security === 'string' ) {
6971 f . security = [ f . security ] ;
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ module.exports = function (RED) {
431431 const urivars = prop.hasOwnProperty("uriVariables") ? msg.payload : { } ;
432432 if (prop.uriVariables) {
433433 const ajv = new Ajv({allErrors: true } );
434- if (!ajv.validate(prop.uriVariables, urlvars )) {
434+ if (!ajv.validate(prop.uriVariables, urivars )) {
435435 node.warn(`input schema validation error: ${ajv.errorsText()} `, msg);
436436 }
437437 }
You can’t perform that action at this time.
0 commit comments