Harshavardhana
45463b1d6b
Fix azure metadata handling for all incoming PUT requests ( #5038 )
...
s3cmd cli fails when trying to upload a file to azure gateway.
Previous fixes in azure to handle client side encryption alone
did not completely address the problem.
We need to possibilly convert all the x-amz-meta-<name>
, i.e specifically <name> should be converted into a
C# identifier as mentioned in the docs for `put-blob`.
https://docs.microsoft.com/en-us/rest/api/storageservices/put-blob
```
s3cmd put README.md s3://myanis/
upload: 'README.md' -> 's3://myanis/README.md' [1 of 1]
4598 of 4598 100% in 0s 47.24 kB/s done
upload: 'README.md' -> 's3://myanis/README.md' [1 of 1]
4598 of 4598 100% in 0s 50.47 kB/s done
ERROR: S3 error: 400 (InvalidArgument): Your metadata headers are not supported.
```
There is a separate issue with s3cmd after this fix is applied where
the ETag is wronly validated https://github.com/s3tools/s3cmd/issues/880
But that is an upstream s3cmd problem which wrongly interprets ETag
to be md5sum of the content that was uploaded.
2017-10-12 12:16:24 -07:00
..
2017-09-19 12:40:27 -07:00
2017-09-07 11:16:13 -07:00
2017-03-17 09:25:49 -07:00
2017-04-14 08:00:04 -07:00
2017-06-21 19:53:09 -07:00
2017-09-19 12:37:56 -07:00
2017-07-18 09:30:46 -07:00
2017-01-10 16:43:48 -08:00
2017-04-27 11:26:00 -07:00
2017-09-12 16:14:41 -07:00
2017-03-18 11:28:41 -07:00
2017-06-23 16:05:40 -07:00
2016-10-12 11:02:15 -07:00
2016-10-12 11:02:15 -07:00
2017-09-24 16:43:21 -07:00
2016-11-21 13:51:05 -08:00
2017-10-03 10:34:51 -07:00
2017-01-31 09:38:34 -08:00
2017-08-12 19:25:43 -07:00
2017-08-05 01:00:05 -07:00
2017-01-07 11:27:01 -08:00
2017-09-19 12:37:56 -07:00
2017-09-19 12:37:56 -07:00
2017-09-19 12:37:56 -07:00
2017-09-19 12:40:27 -07:00
2017-03-26 12:00:27 -07:00
2017-03-26 12:00:27 -07:00
2017-10-10 02:14:42 -07:00
2017-09-19 12:37:56 -07:00
2017-09-19 12:37:56 -07:00
2017-09-24 14:20:12 -07:00
2017-09-13 17:27:19 -07:00
2017-09-26 20:13:06 -07:00
2017-01-02 20:57:42 +05:30
2017-08-23 15:58:02 -07:00
2017-08-23 15:58:02 -07:00
2017-10-08 20:23:42 -07:00
2017-08-12 19:25:43 -07:00
2017-08-23 15:58:02 -07:00
2017-08-05 01:00:05 -07:00
2017-08-05 01:00:05 -07:00
2017-08-05 01:00:05 -07:00
2017-08-05 01:00:05 -07:00
2017-09-19 12:40:27 -07:00
2017-01-18 12:24:34 -08:00
2017-03-08 19:20:01 -08:00
2017-07-12 16:33:21 -07:00
2017-06-16 16:01:41 -07:00
2017-08-12 19:25:43 -07:00
2017-08-12 19:25:43 -07:00
2017-08-12 19:25:43 -07:00
2017-06-14 17:27:49 -07:00
2017-08-12 19:25:43 -07:00
2017-08-08 12:14:32 -07:00
2017-03-23 16:36:00 -07:00
2017-03-03 16:32:04 -08:00
2017-03-03 16:32:04 -08:00
2017-08-03 20:03:37 -07:00
2017-08-23 15:59:37 -07:00
2017-01-16 17:05:00 -08:00
2017-01-16 17:05:00 -08:00
2017-08-31 14:43:59 -07:00
2017-09-14 10:23:23 -07:00
2017-10-08 20:23:42 -07:00
2017-10-08 20:23:42 -07:00
2017-08-14 18:08:42 -07:00
2017-08-23 17:58:52 -07:00
2017-08-23 17:58:52 -07:00
2017-09-28 15:57:19 -07:00
2017-09-28 15:57:19 -07:00
2017-09-27 10:29:42 -07:00
2017-09-27 10:29:42 -07:00
2017-08-14 18:08:42 -07:00
2017-08-14 18:08:42 -07:00
2017-08-14 18:08:42 -07:00
2017-08-14 18:08:42 -07:00
2017-09-19 12:40:27 -07:00
2017-09-24 16:43:21 -07:00
2017-01-16 17:05:00 -08:00
2017-01-16 17:05:00 -08:00
2016-10-29 12:44:44 -07:00
2017-03-23 16:36:00 -07:00
2017-09-19 12:40:27 -07:00
2017-10-05 12:25:45 -07:00
2017-09-25 14:47:58 -07:00
2017-08-12 19:25:43 -07:00
2017-08-12 19:25:43 -07:00
2017-09-28 08:09:28 -07:00
2017-09-19 12:40:27 -07:00
2017-08-12 19:25:43 -07:00
2017-09-19 12:40:27 -07:00
2017-10-06 09:38:01 -07:00
2017-08-12 19:25:43 -07:00
2017-08-30 09:48:19 -07:00
2017-10-06 09:38:01 -07:00
2017-08-08 16:23:52 -07:00
2017-10-12 12:16:24 -07:00
2017-10-09 16:41:35 -07:00
2017-10-12 12:16:24 -07:00
2017-07-20 15:36:48 -07:00
2017-10-09 16:41:35 -07:00
2017-07-07 14:31:42 -07:00
2017-10-09 16:41:35 -07:00
2017-09-29 12:08:23 -07:00
2017-06-16 16:01:41 -07:00
2017-09-01 12:16:54 -07:00
2017-09-29 12:08:23 -07:00
2017-10-05 12:24:45 -07:00
2017-10-03 10:38:25 -07:00
2017-10-09 16:41:35 -07:00
2017-08-12 19:25:43 -07:00
2017-06-16 16:01:41 -07:00
2017-10-09 16:41:35 -07:00
2017-09-01 12:16:54 -07:00
2017-09-11 08:15:51 -07:00
2017-09-19 16:08:08 -07:00
2017-08-12 19:25:43 -07:00
2017-08-22 16:53:35 -07:00
2016-12-19 19:32:55 -08:00
2017-04-21 07:15:53 -07:00
2016-08-18 16:23:42 -07:00
2016-08-18 16:23:42 -07:00
2017-09-19 12:37:56 -07:00
2017-09-19 12:37:56 -07:00
2017-03-18 11:28:41 -07:00
2017-10-05 12:25:45 -07:00
2017-08-31 14:43:59 -07:00
2017-04-11 10:25:21 -07:00
2017-01-02 20:57:42 +05:30
2017-09-19 12:37:56 -07:00
2017-08-12 19:25:43 -07:00
2017-06-05 12:25:04 -07:00
2017-07-18 09:30:46 -07:00
2017-08-31 14:43:59 -07:00
2017-08-31 14:43:59 -07:00
2017-04-15 11:40:01 -07:00
2017-03-23 16:36:00 -07:00
2017-04-01 01:06:06 -07:00
2017-06-13 00:33:21 +00:00
2017-08-31 14:43:59 -07:00
2017-08-31 14:43:59 -07:00
2017-09-25 11:32:56 -07:00
2017-10-10 02:14:42 -07:00
2017-01-02 20:57:42 +05:30
2017-09-24 16:43:21 -07:00
2017-02-09 15:20:54 -08:00
2017-09-19 12:37:56 -07:00
2016-09-16 16:44:44 -07:00
2017-09-04 17:45:30 -07:00
2017-09-04 17:45:30 -07:00
2017-09-04 17:45:30 -07:00
2017-03-31 14:11:27 -07:00
2017-06-21 19:53:09 -07:00
2016-11-15 18:14:23 -08:00
2017-06-21 19:53:09 -07:00
2017-06-21 19:53:09 -07:00
2017-06-21 19:53:09 -07:00
2017-06-21 19:53:09 -07:00
2017-03-31 14:11:27 -07:00
2017-09-22 14:03:31 -07:00
2017-10-05 12:25:45 -07:00
2017-10-10 02:14:42 -07:00
2017-04-11 15:44:27 -07:00
2017-06-12 17:40:28 -07:00
2017-08-03 20:07:22 -07:00
2017-09-12 16:14:41 -07:00
2017-09-19 12:40:27 -07:00
2017-09-19 12:40:27 -07:00
2017-05-09 14:32:24 -07:00
2017-09-19 12:40:27 -07:00
2017-09-19 12:40:27 -07:00
2017-09-19 12:40:27 -07:00
2017-02-01 11:16:17 -08:00
2017-09-19 12:40:27 -07:00
2017-09-19 12:40:27 -07:00
2017-09-19 12:40:27 -07:00
2017-09-24 14:20:12 -07:00
2017-08-31 14:43:59 -07:00
2017-10-03 10:38:25 -07:00
2017-10-06 17:00:15 -07:00
2016-08-18 16:23:42 -07:00
2016-08-18 16:23:42 -07:00
2017-01-18 12:24:34 -08:00
2017-08-15 15:10:50 -07:00
2017-02-03 23:27:50 -08:00
2017-05-02 02:35:27 -07:00
2017-08-12 19:25:43 -07:00
2017-08-12 19:25:43 -07:00
2017-08-12 19:25:43 -07:00
2016-08-18 16:23:42 -07:00
2017-08-12 19:25:43 -07:00
2017-08-12 19:25:43 -07:00
2017-09-25 11:32:56 -07:00
2017-08-12 19:25:43 -07:00
2017-03-13 14:41:13 -07:00
2017-06-21 19:53:09 -07:00
2017-09-12 12:17:44 -07:00
2017-08-12 19:25:43 -07:00
2017-06-17 11:20:12 -07:00
2017-09-12 12:17:44 -07:00
2017-02-07 02:16:29 -08:00
2017-09-25 11:32:56 -07:00
2017-09-25 11:32:56 -07:00
2017-03-18 11:28:41 -07:00
2017-09-01 12:16:54 -07:00
2017-09-19 12:37:56 -07:00
2017-07-18 09:30:46 -07:00
2017-07-18 09:30:46 -07:00
2017-10-08 20:23:42 -07:00
2017-10-08 20:23:42 -07:00
2017-07-18 09:30:46 -07:00
2017-08-12 19:25:43 -07:00
2017-01-02 20:57:42 +05:30
2017-10-10 02:14:42 -07:00
2017-04-11 15:44:27 -07:00
2017-09-07 11:16:45 -07:00
2017-04-15 02:16:49 -07:00
2017-10-03 10:37:45 -07:00
2017-08-12 19:25:43 -07:00
2017-06-27 19:46:58 -07:00
2017-07-12 16:33:21 -07:00
2017-04-11 15:44:27 -07:00
2017-07-12 16:33:21 -07:00
2017-09-26 11:00:07 -07:00
2017-09-26 11:00:07 -07:00
2017-08-12 19:25:43 -07:00
2017-05-15 18:17:02 -07:00
2017-06-21 19:53:09 -07:00
2017-05-15 18:17:02 -07:00
2017-05-15 18:17:02 -07:00
2017-08-18 11:45:16 -07:00
2016-11-13 11:48:02 -08:00
2017-08-15 15:10:50 -07:00
2017-09-25 11:32:56 -07:00
2017-10-10 02:14:42 -07:00
2017-09-25 11:32:56 -07:00
2017-10-05 12:25:45 -07:00
2017-09-25 11:32:56 -07:00
2017-09-25 11:32:56 -07:00
2016-10-10 01:42:32 -07:00
2017-06-21 11:30:34 -07:00
2017-10-10 02:14:42 -07:00
2017-08-12 19:25:43 -07:00
2016-08-18 16:23:42 -07:00
2016-08-18 16:23:42 -07:00
2017-02-03 23:27:50 -08:00
2017-09-01 12:16:54 -07:00
2017-10-09 16:12:13 -07:00
2017-10-09 16:12:13 -07:00
2017-05-31 09:22:00 -07:00
2017-05-31 09:22:00 -07:00
2017-05-31 00:11:06 -07:00
2017-05-31 00:11:06 -07:00
2017-10-10 02:14:42 -07:00
2017-02-19 20:46:06 -08:00
2017-09-19 12:40:27 -07:00
2017-09-19 12:40:27 -07:00
2017-07-24 12:46:37 -07:00
2017-08-12 19:25:43 -07:00
2017-06-21 19:53:09 -07:00
2017-09-25 14:47:58 -07:00
2017-09-25 14:47:58 -07:00
2017-07-07 14:31:42 -07:00
2017-09-19 12:40:27 -07:00
2017-09-19 12:40:27 -07:00
2017-09-28 15:57:19 -07:00
2017-09-28 15:57:19 -07:00
2017-09-19 12:40:27 -07:00
2017-08-31 14:43:59 -07:00
2017-06-21 19:53:09 -07:00
2017-09-19 12:40:27 -07:00
2017-08-14 18:08:42 -07:00
2017-08-12 19:25:43 -07:00
2017-10-06 09:38:01 -07:00
2017-09-19 12:40:27 -07:00
2017-10-06 09:38:01 -07:00
2017-10-06 09:38:01 -07:00
2017-10-06 09:38:01 -07:00
2017-08-03 20:07:22 -07:00