diff options
author | Vladimir Shushlin <v.shushlin@gmail.com> | 2020-12-25 13:30:04 +0300 |
---|---|---|
committer | Vladimir Shushlin <v.shushlin@gmail.com> | 2020-12-25 13:30:04 +0300 |
commit | f835bf70ee36d03f879ff5cfe234eec0448f92ba (patch) | |
tree | 9b82369d271ee7b5244b1fe0a54ac41215317537 | |
parent | 2f8d269b24968f2b95a743b8c3161da280d42cad (diff) | |
parent | d87a862fbc8d7b100f4b3d31b28a8eac25c907ef (diff) |
Merge branch 'security-1-28-allow-delete' into security-1-28-stablev1.28.21-28-stable
-rw-r--r-- | CHANGELOG | 4 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | internal/rejectmethods/middleware.go | 1 |
3 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +v 1.28.2 + +- Allow DELETE HTTP method + v 1.28.1 - Reject requests with unknown HTTP methods @@ -1 +1 @@ -1.28.1 +1.28.2 diff --git a/internal/rejectmethods/middleware.go b/internal/rejectmethods/middleware.go index e76fc383..e78a0ce5 100644 --- a/internal/rejectmethods/middleware.go +++ b/internal/rejectmethods/middleware.go @@ -12,6 +12,7 @@ var acceptedMethods = map[string]bool{ http.MethodPost: true, http.MethodPut: true, http.MethodPatch: true, + http.MethodDelete: true, http.MethodConnect: true, http.MethodOptions: true, http.MethodTrace: true, |