CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#7380] Add charset to header in backend css

avatar
Created By: Georg Busch (nan)
Date Submitted: 2011-12-22 10:25

Assigned To:
Resolution: Fixed
State: Closed
Summary:
Add charset to header in backend css
Detailed Description:
In loginstyle.php as well as in style.php there is no charset in the header()
for the stylesheets.
Unproper configured servers may add a wrong charset what would result in no
backend stylesheet.
(especially in Firefox)

Recently there was an issue where the server added charset=none to the header
what results in that Firefox did not load the stylesheet in backend.

somthing like 

header("Content-type: text/css; charset=" . get_encoding());

in admin/style.php and admin/loginstyle.php should do the trick.
(right after all required php scripts are included)

cheers

History

Comments
avatar
Date: 2011-12-22 11:46
Posted By: Robert Campbell (calguy1000)

Fixed for 1.11
      
avatar
Date: 2012-08-02 07:44
Posted By: Rolf (rolf1)

CMSMS 1.11 is released
      
Updates

Updated: 2012-08-02 07:44
state: Open => Closed

Updated: 2011-12-22 11:46
resolution_id: => 7