Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have a server that has ssl forced - e.g., any requests for http://our.server.edu/ are automatically redirected to https://our.server.edu/. That creates a problem with the security checking code, as it tries to open a socket to port 80 on the same server, receives a 302, and concludes that the file is accessible. I'm attaching a patch to fix this issue...
thanks,
Adrian
Comment | File | Size | Author |
---|---|---|---|
private_upload.module.fsockopen.patch | 866 bytes | acrollet |
Comments
Comment #1
asohn CreditAttribution: asohn commentedThank you for the patch!! Works great!
Comment #2
Jason Jaeger Geoprobe CreditAttribution: Jason Jaeger Geoprobe commentedI am unable to download private files in Internet Explorer on pages secured via SSL. I tried to implement this patch (I acknowledge it is for an earlier version) but it does not seem to help.
Comment #3
chrisschaub CreditAttribution: chrisschaub commentedCan this patch get committed or a fix for the https issue? Thanks.
Comment #4
JeffVoskamp CreditAttribution: JeffVoskamp commentedWhat he said.
I can't believe it's been outstanding this long.
Works for me.
Comment #5
acrollet CreditAttribution: acrollet commentedHa, it's been years since I even thought of this patch. It looks like the last commit on this project was 2 years ago, so I'm not sure if the project's being maintained. The process would be to first set this patch to RTBC if you have tested it and determined that it works well when applied to the latest -dev version. Then, if the maintainer does not respond, you'll want to follow the steps here: http://drupal.org/node/251466
Comment #6
JeffVoskamp CreditAttribution: JeffVoskamp commentedWorks fine here.