Paths with a question mark are not interpolated correctly
Closed this issue · 0 comments
maxholman commented
interpolate('/foo/:foo/bar/:bar?', {
foo: 'baz',
})
Returns "/foo/baz/bar/?" instead of "/foo/baz"
Closed this issue · 0 comments
interpolate('/foo/:foo/bar/:bar?', {
foo: 'baz',
})
Returns "/foo/baz/bar/?" instead of "/foo/baz"