CMS MADE SIMPLE FORGE

News Module

 

[#10082] Custom file upload breaks SSL pages

avatar
Created By: Eduardo Martinez (hexdj)
Date Submitted: Mon Jun 30 18:44:10 -0400 2014

Assigned To:
Version: 2.14.1
CMSMS Version: 1.11.10
Severity: Minor
Resolution: Fixed
State: Open
Summary:
Custom file upload breaks SSL pages
Detailed Description:
If News is loaded in a page using HTTPS and it has a custom field that is a file
upload the {file_location} tag outputs the full domain, including HTTP,
therefore breaking the lock on secure pages.

This can be easily fixed on the module template's end doing something like
{file_location|replace:"http://www.yourdomain.com":""} which will simply output
the relative path of the file.


History

Comments
avatar
Date: 2015-03-28 15:58
Posted By: Robert Campbell (calguy1000)

do you mean the {$entry->file_location} variable?
      
avatar
Date: 2017-06-17 13:03
Posted By: Robert Campbell (calguy1000)

should be fixed for 2.2 where we use protocol relative URI's
      
avatar
Date: 2017-06-17 13:03
Posted By: Robert Campbell (calguy1000)

should be fixed for 2.2 where we use protocol relative URI's
      
Updates

Updated: 2017-06-17 13:03
resolution_id: 5 => 7

Updated: 2015-03-28 15:58
resolution_id: => 5