Vasiliy Tolstov d44adafca5
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>
2020-04-29 15:23:10 +03:00
..
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2019-05-24 20:06:27 +08:00
2020-04-03 12:33:19 +01:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2020-01-30 14:44:40 +03:00
2019-11-27 17:12:07 +00:00
2020-01-30 14:44:40 +03:00
2018-04-14 19:24:17 +01:00