Piwik_Url: getCurrentSchema() should check assume_secure_protocol
|Reported by:||vipsoft||Owned by:||vipsoft|
|Priority:||normal||Milestone:||1.6 Piwik 1.6|
#2594 was nagging at me all night.
I did a review of the code base, and there doesn't appear to be a reason why getCurrentSchema() couldn't return https when assume_secure_protocol = 1.
This would eliminate the special cases in the code. So, let's refactor and clean this up.
Change History (5)
comment:1 Changed 3 years ago by vipsoft (robocoder)
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 3 years ago by matt (mattab)
- Resolution fixed deleted
- Status changed from closed to reopened