UriTemplate.parse('/foo{?a,b,c}').expand({});
produces
"/foo?c="
should be
"/foo"
same for operators '&' and ';'
It seems to me that 'if (isFirstVarspec)' block starting at line 668 is unnecessary and removing it will resolve this issue without unwanted side effects.
.
UriTemplate.parse('/foo{?a,b,c}').expand({}); produces "/foo?c=" should be "/foo"
same for operators '&' and ';'
It seems to me that 'if (isFirstVarspec)' block starting at line 668 is unnecessary and removing it will resolve this issue without unwanted side effects. .