Merge pull request #6359 from guggero/fix-rest-proxy-fallback

lnd: disable REST proxy HTTP method fallback
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2022-03-23 16:28:41 -07:00
commit bd5e29ec83
2 files changed
+23 -1

No files matched your search

@@ -0,0 +1,13 @@
# Release Notes
## Bug fixes
* The REST proxy (`grpc-gateway` library) had a fallback that redirected `POST`
requests to another endpoint _with the same URI_ if no endpoint for `POST` was
registered. [This default behavior was turned
off](https://github.com/lightningnetwork/lnd/pull/6359), enabling strict
HTTP method matching.
# Contributors (Alphabetical Order)
* Oliver Gugger