Private folder incorrectly reported as accessible for https host
acrollet - October 17, 2008 - 14:53
| Project: | Private Upload |
| Version: | 5.x-1.0-rc2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
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
| Attachment | Size |
|---|---|
| private_upload.module.fsockopen.patch | 866 bytes |

#1
Thank you for the patch!! Works great!