#21 ✓resolved
Ryan McGeary

Unnecessary colon in s3_url

Reported by Ryan McGeary | January 15th, 2008 @ 10:24 PM

When using the default port in either ssl or non-ssl mode, an orphaned colon is added to the end of the hostname of s3_url (public_filename). For example

>> d = Document.find(:first)
=> ...
>> d.s3_url
=> "http://s3.amazonaws.com:/bucket/documents/6/somedoc.pdf"

The attached diff fixes this minor issue.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Attachments

Pages