You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by yuvalk <no...@github.com> on 2017/11/30 08:27:02 UTC
[jclouds/jclouds] Fix case sensitivity of blobstore metadata (#1164)
HTTP headers are case insensitive by nature (see RFC 2616). When addUserMetadataTo check if this is indeed a user metadata header, it must properly ignore case.
The fix make sure that both metadataPrefix and the header key are compared with toLowerCase().
This solves issue with minio metadata read
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds/pull/1164
-- Commit Summary --
* Fix case sensitivity of blobstore metadata
-- File Changes --
M blobstore/src/main/java/org/jclouds/blobstore/functions/ParseSystemAndUserMetadataFromHeaders.java (4)
-- Patch Links --
https://github.com/jclouds/jclouds/pull/1164.patch
https://github.com/jclouds/jclouds/pull/1164.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1164
Re: [jclouds/jclouds] Fix case sensitivity of blobstore metadata
(#1164)
Posted by Ignasi Barrera <no...@github.com>.
Merged to master as [17cef565](http://git-wip-us.apache.org/repos/asf/jclouds/commit/17cef565). Thanks, @yuvalk!
@gaul given this slightly changes the behavior, should we cherry-pick it to 2.0.x?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1164#issuecomment-349891895
Re: [jclouds/jclouds] Fix case sensitivity of blobstore metadata
(#1164)
Posted by Ignasi Barrera <no...@github.com>.
Thanks, @yuvalk! Could you file an issue in our [JIRA](https://issues.apache.org/jira/projects/JCLOUDS) so we can properly track this?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1164#issuecomment-348157595
Re: [jclouds/jclouds] Fix case sensitivity of blobstore metadata
(#1164)
Posted by Ignasi Barrera <no...@github.com>.
Closed #1164.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1164#event-1376378897
Re: [jclouds/jclouds] Fix case sensitivity of blobstore metadata
(#1164)
Posted by stevegomez17 <no...@github.com>.
Thanks for the info.
>
> On Nov 30, 2017 at 2:27 AM, <yuvalk (mailto:notifications@github.com)> wrote:
>
>
>
>
> HTTP headers are case insensitive by nature (see RFC 2616). When addUserMetadataTo check if this is indeed a user metadata header, it must properly ignore case.
> The fix make sure that both metadataPrefix and the header key are compared with toLowerCase().
>
>
>
> This solves issue with minio metadata read
>
>
> You can view, comment on, or merge this pull request online at:
>
>
> https://github.com/jclouds/jclouds/pull/1164
>
>
> Commit Summary
>
>
> Fix case sensitivity of blobstore metadata
>
>
> File Changes
>
>
> M blobstore/src/main/java/org/jclouds/blobstore/functions/ParseSystemAndUserMetadataFromHeaders.java (https://github.com/jclouds/jclouds/pull/1164/files#diff-0) (4)
>
>
> Patch Links:
>
>
> https://github.com/jclouds/jclouds/pull/1164.patch
>
> https://github.com/jclouds/jclouds/pull/1164.diff
>
>
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub (https://github.com/jclouds/jclouds/pull/1164), or mute the thread (https://github.com/notifications/unsubscribe-auth/AQPs5xH2BwgbeFIh8taETUibXKIVFCy6ks5s7mbWgaJpZM4QwLuF).
>
>
>
>
>
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1164#issuecomment-348118275
Re: [jclouds/jclouds] Fix case sensitivity of blobstore metadata
(#1164)
Posted by yuvalk <no...@github.com>.
https://issues.apache.org/jira/browse/JCLOUDS-1363
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1164#issuecomment-348158562