- Fix possible infinite redirect on attachment preview (#1488199)

pull/1/head
alecpl 13 years ago
parent f78b944779
commit 5510a5278b

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail CHANGELOG Roundcube Webmail
=========================== ===========================
- Fix possible infinite redirect on attachment preview (#1488199)
- Improved clickjacking protection for browsers which don't support X-Frame-Options headers - Improved clickjacking protection for browsers which don't support X-Frame-Options headers
- Fixed bug where similiar folder names were highlighted wrong (#1487860) - Fixed bug where similiar folder names were highlighted wrong (#1487860)
- Fixed bug in handling link with '!' character in it (#1488195) - Fixed bug in handling link with '!' character in it (#1488195)

@ -22,7 +22,7 @@
// show loading page // show loading page
if (!empty($_GET['_preload'])) { if (!empty($_GET['_preload'])) {
$url = str_replace('&_preload=1', '', $_SERVER['REQUEST_URI']); $url = preg_replace('/[&?]+_preload=1/', '', $_SERVER['REQUEST_URI']);
$message = rcube_label('loadingdata'); $message = rcube_label('loadingdata');
header('Content-Type: text/html; charset=' . RCMAIL_CHARSET); header('Content-Type: text/html; charset=' . RCMAIL_CHARSET);

Loading…
Cancel
Save