niksis02
6fafc15d08
fix: fixes PutBucketCors CORSRules validation
...
Fixes #1870
Fixes #1863
A validation has been added to **PutBucketCors** for `CORSRule.AllowedOrigins`. The `AllowedOrigins` list can no longer be empty—otherwise a **MalformedXML** error is returned. Additionally, each origin is now validated to ensure it does not contain more than one wildcard.
A similar validation has been added for `AllowedMethods`. The list must not be empty, or a **MalformedXML** error is returned. Previously, empty method values (e.g., `[]string{""}`) were incorrectly treated as valid. This has been fixed, and an **UnsupportedCORSMethod** error is now returned.
2026-02-24 16:59:38 +04:00
..
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2024-05-06 16:16:31 -07:00
2026-02-18 01:44:52 +04:00
2025-10-07 23:22:08 +04:00
2026-02-18 01:44:52 +04:00
2026-02-20 13:02:51 +04:00
2026-01-23 17:03:03 +04:00
2024-05-06 16:16:31 -07:00
2026-02-20 13:02:51 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2026-02-11 16:45:36 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2026-01-03 16:23:11 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2026-01-05 16:24:01 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-12-28 13:51:33 +04:00
2025-10-31 20:53:55 +04:00
2026-01-14 13:41:50 +04:00
2026-01-14 13:41:50 +04:00
2026-01-02 23:31:35 +04:00
2026-02-24 16:59:38 +04:00
2025-10-31 20:53:55 +04:00
2025-12-28 13:51:33 +04:00
2026-01-12 14:32:52 +04:00
2025-10-31 20:53:55 +04:00
2026-02-06 14:21:56 +04:00
2026-02-06 14:21:56 +04:00
2025-10-31 20:53:55 +04:00
2026-02-06 14:21:56 +04:00
2026-02-06 14:21:56 +04:00
2025-10-31 20:53:55 +04:00
2026-01-08 16:23:23 -08:00
2025-10-07 23:22:08 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2025-11-03 22:59:06 +04:00
2026-02-24 16:59:38 +04:00
2025-10-31 20:53:55 +04:00
2025-12-29 21:10:52 +04:00
2025-10-31 20:53:55 +04:00
2025-10-31 20:53:55 +04:00
2026-02-18 01:44:52 +04:00
2026-01-14 13:41:50 +04:00
2025-10-31 20:53:55 +04:00
2026-01-14 13:41:50 +04:00
2025-10-31 20:53:55 +04:00
2026-02-11 09:58:15 -08:00
2025-12-26 21:16:01 +04:00
2025-12-26 21:16:01 +04:00
2026-01-02 23:47:45 +04:00
2025-12-08 18:08:46 -08:00
2025-10-31 20:53:55 +04:00
2025-12-28 13:51:33 +04:00
2026-02-18 01:44:52 +04:00
2026-01-20 16:24:46 +04:00
2025-10-31 20:53:55 +04:00