insomnia/packages
Thijs Schreijer 40deacb718
fix(o2k) update path param regex to match 1 segment only (#3298)
existing regex '\S+' is equivalent to '[^\s]+' by adding the
'/' character as not allowed, we limit the regex to match only 1 path
segment

This path: "/tracks/{hello}/world/{there}”
Would create: “/tracks/(?<hello>\S+)/world/(?<there>\S+)$”

This path works as expected:
/tracks/xxx/world/yyy
With captures:
  hello: xxx
  there: yyy

This path also works, unexpected:
/tracks/xxx/zzz/world/yyy/andthensome
With captures:
  hello: xxx/zzz
  there: yyy/andthensome

The last one should have matched only a single path segment, but
actually matches multiple.
2021-04-19 19:50:46 +12:00
..
insomnia-app Update the segment write key for production (#3295) 2021-04-15 18:19:07 +02:00
insomnia-components lib@2.2.33 2021-03-30 10:03:21 +13:00
insomnia-cookies lib@2.2.24 2020-09-22 11:45:33 +12:00
insomnia-importers lib@2.2.29 2021-03-03 11:12:19 +13:00
insomnia-inso lib@2.2.33 2021-03-30 10:03:21 +13:00
insomnia-prettify lib@2.2.24 2020-09-22 11:45:33 +12:00
insomnia-send-request lib@2.2.33 2021-03-30 10:03:21 +13:00
insomnia-smoke-test lib@2.2.31 2021-03-23 11:48:55 +13:00
insomnia-testing lib@2.2.29 2021-03-03 11:12:19 +13:00
insomnia-url lib@2.2.24 2020-09-22 11:45:33 +12:00
insomnia-xpath lib@2.2.24 2020-09-22 11:45:33 +12:00
openapi-2-kong fix(o2k) update path param regex to match 1 segment only (#3298) 2021-04-19 19:50:46 +12:00