bc0121808a
When pushing data to downstream proxies; malformed requests were being sent. The corrected behavior is as follows: | Route Stripped | URL | Passed to Backend | | ----------------- | ---------------------- | ------------------ | | / | / | / | | Route Stripped | URL | Passed to Backend | | ----------------- | ---------------------- | ------------------ | | /stat | /stat | / | | /stat | /stat/ | / | | /stat | /status | /status | | /stat | /stat/us | /us | | Route Stripped | URL | Passed to Backend | | ----------------- | ---------------------- | ------------------ | | /stat/ | /stat | /stat | | /stat/ | /stat/ | / | | /stat/ | /status | /status | | /stat/ | /stat/us | /us | Prior, we could strip the prefixing `/`, and we'd also ignore the case where you want to serve something like `/api` as both the index and as a subpath. Additionally, this should resolve a myriad of issues relating to kubernetes ingress `PathPrefixStrip`. |
||
---|---|---|
.. | ||
addPrefix.go | ||
authenticator.go | ||
authenticator_test.go | ||
cbreaker.go | ||
compress.go | ||
handlerSwitcher.go | ||
logger.go | ||
logger_test.go | ||
metrics.go | ||
prometheus.go | ||
prometheus_test.go | ||
recover.go | ||
recover_test.go | ||
replace_path.go | ||
replace_path_test.go | ||
retry.go | ||
rewrite.go | ||
routes.go | ||
saveBackend.go | ||
stateful.go | ||
stats.go | ||
stripPrefix.go | ||
stripPrefix_test.go | ||
stripPrefixRegex.go | ||
stripPrefixRegex_test.go |