Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use TrimPrefix to strip listen path (#2316)
Fixes #2313 Same as #2211 Missed this case `strings.Replace()` method was used to strip the `listen_path`. So when URL rewrite plugin was used to call an endpoint that contained `listen_path` anywhere in it's path, it was getting removed. To fix this I replaced `strings.Replace()` with `strings.TrimPrefix()`
- Loading branch information