Vasiliy Tolstov 01c824bbfa api/router: avoid unneeded loops and fix path match (#1594)
* api/router: avoid unneeded loops and fix path match

* if match found in google api path syntax, not try pcre loop
* if path is not ending via $ sign, append it to pcre to avoid matching other strings like
  /api/account/register can be matched to /api/account
* api: add tests and validations

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:30:46 +03:00
Description
No description provided
v3.2.1 Latest
2021-01-29 14:54:40 +03:00
Languages
Go 100%