mirror of
https://github.com/minio/minio.git
synced 2025-11-11 14:30:17 -05:00
api: BucketNotification should disallow duplicate notification. (#2539)
Added checks to look for duplicated notification configs. Fixes #2472
This commit is contained in:
@@ -1840,10 +1840,6 @@ var DB = map[string]struct {
|
||||
ContentType: "image/vnd.ms-modi",
|
||||
Compressible: false,
|
||||
},
|
||||
"mdp": {
|
||||
ContentType: "application/dash+xml",
|
||||
Compressible: false,
|
||||
},
|
||||
"me": {
|
||||
ContentType: "text/troff",
|
||||
Compressible: false,
|
||||
@@ -2008,6 +2004,10 @@ var DB = map[string]struct {
|
||||
ContentType: "application/vnd.mophun.certificate",
|
||||
Compressible: false,
|
||||
},
|
||||
"mpd": {
|
||||
ContentType: "application/dash+xml",
|
||||
Compressible: false,
|
||||
},
|
||||
"mpe": {
|
||||
ContentType: "video/mpeg",
|
||||
Compressible: false,
|
||||
@@ -2824,6 +2824,10 @@ var DB = map[string]struct {
|
||||
ContentType: "application/relax-ng-compact-syntax",
|
||||
Compressible: false,
|
||||
},
|
||||
"rng": {
|
||||
ContentType: "application/xml",
|
||||
Compressible: false,
|
||||
},
|
||||
"roa": {
|
||||
ContentType: "application/rpki-roa",
|
||||
Compressible: false,
|
||||
@@ -3088,6 +3092,14 @@ var DB = map[string]struct {
|
||||
ContentType: "application/vnd.openxmlformats-officedocument.presentationml.slide",
|
||||
Compressible: false,
|
||||
},
|
||||
"slim": {
|
||||
ContentType: "text/slim",
|
||||
Compressible: false,
|
||||
},
|
||||
"slm": {
|
||||
ContentType: "text/slim",
|
||||
Compressible: false,
|
||||
},
|
||||
"slt": {
|
||||
ContentType: "application/vnd.epson.salt",
|
||||
Compressible: false,
|
||||
|
||||
Reference in New Issue
Block a user