"Copy URL" function returns wrong SSL url

9 views
Skip to first unread message

Giovanni Bajo

unread,
Dec 21, 2013, 8:07:07 AM12/21/13
to 3h...@googlegroups.com
Hello,

while using 3Hub, I found out a small bug: if I use the "Copy URL" function, the returned URL is in the form "https://BUCKETNAME.s3.amazonaws.com/FILE". The problem is that this format is not compatible with bucket names in the suggested FQDN format (e.g.: foobar.example.com) because the SSL certificate that Amazon serves is for "*.s3.amazonaws.com", and thus doesn't match hostnames such as "foobar.example.com.s3.amazonaws.com".

The correct fix would be to create a URL in the form "https://s3.amazonaws.com/BUCKETNAME/FILE", which always works.

Thanks
Giovanni Bajo

Reply all
Reply to author
Forward
0 new messages