Closed (fixed)
Project:
AmazonS3
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2014 at 06:54 UTC
Updated:
17 Jan 2015 at 01:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lixiphp commentedI have upload the patch to solve this issue.
Please review that.
Thanks.
Comment #2
justafishThat's on purpose, it matches the current protocol of the page being looked at. I'm not exactly sure what you're trying to do with e-mail, but you could preprocess it and add the appropriate prefix.
http://www.paulirish.com/2010/the-protocol-relative-url/
Comment #3
dlumberg commentedThis is also breaking fully qualified URLs in MRSS feeds. We're getting:
note the ///
I can confirm that the patch in #1 fixes the issue for us but there must be a way to accomplish the relative url protocol that doesn't break the "Link video to file" method in views using the video module.
Comment #4
vanvemdenSame issue here; was getting URLs like: ///bucket.s3.amazonaws.com/path/to/file/....
In IE the link URLs ended up as http://example.com///bucket.s3.amazonaws.com/path/to/file/... which made the links not work.
Patch fixed the issue for me. Thanks! This one gave me a headache!
Comment #5
griz commentedI'm using commerce_file and I also get links lacking their protocol (which obviously don't work).
Comment #6
davidtrainer commentedHi, I encountered this issue on a website for a client wanting to publish a podcast, using an audio field and the Views RSS module. The problem, as others have mentioned, is that the protocol-relative URL does not work in the context of an xml+rss feed.
This took me a while to troubleshoot because the module does not behave as described in its own comments:
So I think this is clearly a bug. I reviewed and successfully applied the patch in #1, so marking RTBC.
Comment #7
justafishFixed in #2401101: Fix the external URL generation
Comment #8
justafish