Bug when using FRAMESET with CMS made simple.

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
GDS
Forum Members
Forum Members
Posts: 81
Joined: Sun Feb 18, 2007 1:26 pm
Location: Norway

Bug when using FRAMESET with CMS made simple.

Post by GDS »

Hi!
I have used CMS ms for frameset based websites with good results.


I did however find a bug in the file admin/login.php:
The redirect used when login is cancelled is not working properly with framesets.

The faulty code is:
redirect($config["root_url"].'/index.php', true);

The result of this bug is that nested framesets will occure.
The redirect should have adressed the mainpage, like this:

redirect($config["root_url"].'/'.$config["mainpage"], true);

For this to work, a new variable $config["mainpage"] has to be created in config.php.

The default value should be set to 'index.php' , and only changed when using framesets.


This or a similar fix would be greatly appreciated.


GDS
Locked

Return to “[locked] Quality Assurance”