Closed (fixed)
Project:
Storage API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
1 Apr 2014 at 23:05 UTC
Updated:
25 Aug 2017 at 23:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Andre-Bno patch, won't fix. please come back with a solution and/ or references to other modules handling this issue.
Comment #2
clevername commentedThe attached patch adds a check for $_SERVER['HTTP_X_FORWARDED_PROTO'] as a workaround. Also see #313145: Support X-Forwarded-* HTTP headers alternates for the larger issue with Drupal core.
Comment #3
cesarmiquel commentedWe are having issues here when this functions get called via cron as the $_SERVER variable is not defined. How should this code be changed?
Comment #4
stimalsina commentedHere's my take on it. The patch in #2 is mostly okay, but we only need check if the `HTTPS` is set.
Comment #6
perignon commentedThis patch fails to apply.... Maybe it wasn't rolled against dev.
Comment #8
perignon commentedI manually updated the code and pushed it to dev.
Comment #9
perignon commentedComment #11
JMTorres commentedThe last commit broke the module with an errant typo. Rerolled this against the latest dev and modified the function to call drupal_is_https() before checking proxy headers.
Comment #12
JMTorres commentedComment #13
JMTorres commentedUploaded wrong patch, here is the correct one.
Comment #15
perignon commentedCommitted to dev.
Comment #18
perignon commentedComment #20
perignon commentedTests passed on TravisCI https://travis-ci.org/taz77/drupal_storage_api