Really secure viewsource downloads
| | |
| | | location.href = this.secure_url(location.href.replace(/_frame=/, '_download=')); |
| | | } |
| | | else if (uid = this.get_single_uid()) { |
| | | this.goto_url('viewsource', this.params_from_uid(uid, {_save: 1})); |
| | | this.goto_url('viewsource', this.params_from_uid(uid, {_save: 1}), false, true); |
| | | } |
| | | break; |
| | | |
| | |
| | | +-----------------------------------------------------------------------+ |
| | | */ |
| | | |
| | | if (!empty($_GET['_save'])) { |
| | | $RCMAIL->request_security_check(rcube_utils::INPUT_GET); |
| | | } |
| | | |
| | | ob_end_clean(); |
| | | |
| | | // similar code as in program/steps/mail/get.inc |