Here bug description:
Inside my directory /admin there is an .htaccess file like this
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
With this configuration, TinyMCE file upload popup takes wrong urls path and doesn't work at all, pointing to wrong urls.
My workaround for config.php is this:
Any suggestions / hints?$config['root_url'] = 'http://www.mysite.com';
$config['plain_root_url'] = $config['root_url'];
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}
...
...
$config['image_uploads_url'] = $config['root_url'] $config['plain_root_url'] . '/uploads/images';
Can this problem solved in core files?
Maybe in CMSMS administration panel could be added an option with "force SSL login"?
regards
blast