mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
40deacb718
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. |
||
---|---|---|
.. | ||
insomnia-app | ||
insomnia-components | ||
insomnia-cookies | ||
insomnia-importers | ||
insomnia-inso | ||
insomnia-prettify | ||
insomnia-send-request | ||
insomnia-smoke-test | ||
insomnia-testing | ||
insomnia-url | ||
insomnia-xpath | ||
openapi-2-kong |