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:29:02 +0300
committerVladimir Shushlin <v.shushlin@gmail.com>2020-12-25 13:29:02 +0300
commitde7640a502817e709362d8a1593de4d65f510703 (patch)
tree68e39b007705e0c514c1139dae18fef1d611fb95
parentb355a41a4ab4a63789305cfe26474d4116fd0fe5 (diff)
parent24d2e4b264bf03df98a64438ea90c383f299beb4 (diff)
Merge branch 'security-1-30-allow-delete' into security-1-30-stablev1.30.21-30-stable
-rw-r--r--CHANGELOG4
-rw-r--r--VERSION2
-rw-r--r--internal/rejectmethods/middleware.go1
3 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index cf06a685..878d285f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+v 1.30.2
+
+- Allow DELETE HTTP method
+
v 1.30.1
- Reject requests with unknown HTTP methods
diff --git a/VERSION b/VERSION
index 7f3c3aff..d1eaa3ba 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.30.1
+1.30.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,