Closed cinder-fish closed 8 years ago
Nice catch. That is definitely incorrect.
The fix is now in the 2.1.6-SNAPSHOT
build, which should be available in Maven Central. I plan on releasing 2.1.6
once I figure out a solution to #51
2.1.6
has been released with this fix.
Returns a usable
UriTemplate
that willexpand
andexpandPartial
using this variable name as normalHowever
UriTemplate.fromTemplate("location{?invalid-variable}");
Throws an exception as the variable name does not match https://tools.ietf.org/html/rfc6570#section-2.3
I think here that
query
should probably be throwing a similar exception.