Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Shushlin <v.shushlin@gmail.com>2020-12-25 13:26:54 +0300
committerVladimir Shushlin <v.shushlin@gmail.com>2020-12-25 13:26:54 +0300
commite4ddf96500cab8587671147848e51da91ff6e300 (patch)
treeb37b9a0f6f4359f405060f3a22d25de76c00e988
parent8f7bd6b26b2ec338c656814f25243be87e425283 (diff)
parent2cfbfaf33fb1cb662a65558ada9d4d2ae2b70108 (diff)
Merge branch 'security-allow-delete' into security-masterv1.34.0
-rw-r--r--CHANGELOG12
-rw-r--r--VERSION2
-rw-r--r--internal/rejectmethods/middleware.go1
3 files changed, 14 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 2c6ce16b..e315ddcc 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+v 1.34.0
+
+- Allow DELETE HTTP method
+
v 1.33.0
- Reject requests with unknown HTTP methods
@@ -15,6 +19,10 @@ v 1.31.0
- Add zip serving configuration flags !392
- Disable deprecated serverless serving and proxy !400
+v 1.30.2
+
+- Allow DELETE HTTP method
+
v 1.30.1
- Reject requests with unknown HTTP methods
@@ -33,6 +41,10 @@ v 1.29.0
- Improve httprange timeouts !382
- Fix caching for errored ZIP VFS archives !384
+v 1.28.2
+
+- Allow DELETE HTTP method
+
v 1.28.1
- Reject requests with unknown HTTP methods
diff --git a/VERSION b/VERSION
index 7aa332e4..2b17ffd5 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.33.0
+1.34.0
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,