[Cyberduck-trac] [Cyberduck] #9161: Corrupted metadata 'Content-Type: image/svg+xml'

Cyberduck trac at trac.cyberduck.io
Tue Dec 15 14:38:44 UTC 2015


#9161: Corrupted metadata 'Content-Type: image/svg+xml'
------------------------+------------------------
 Reporter:  dkocher     |         Owner:  dkocher
     Type:  defect      |        Status:  new
 Priority:  normal      |     Milestone:  4.8
Component:  cloudfiles  |       Version:  4.7.3
 Severity:  normal      |    Resolution:
 Keywords:              |  Architecture:
 Platform:              |
------------------------+------------------------

Old description:

> Hi All,
>
> after uploading SVG files to Rackspace Cloudfiles, I see that the
> content-type is detected automatically, but instead of setting it to:
>
> 'Content-Type: image/svg+xml'
>
> somehow the '+' sign is interpreted as whitespace character and it
> results in:
>
> 'Content-Type: image/svg xml'
>
> As a workaround I can set the metadata after uploading manually.

New description:

 Hi All,

 after uploading SVG files to Rackspace Cloudfiles, I see that the content-
 type is detected automatically, but instead of setting it to:


 {{{
 Content-Type: image/svg+xml
 }}}


 somehow the '+' sign is interpreted as whitespace character and it results
 in:


 {{{
 Content-Type: image/svg xml
 }}}


 As a workaround I can set the metadata after uploading manually.

--

Comment (by dkocher):

 I cannot set the header being sent incorrect.


 {{{
 INFO  Session - PUT
 /v1/MossoCloudFS_59113590-c679-46c3-bf62-9d7c3d5176ee/test.cyberduck.ch/1706396a-3218
 -4ccc-a0d8-fb57aef4792c.svg HTTP/1.1
 INFO  Session - Transfer-Encoding: chunked
 INFO  Session - Content-Type: image/svg+xml
 }}}

-- 
Ticket URL: <https://trac.cyberduck.io/ticket/9161#comment:1>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list