summaryrefslogtreecommitdiff
path: root/program/steps/mail/viewsource.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-08-18 12:48:33 +0000
committerthomascube <thomas@roundcube.net>2006-08-18 12:48:33 +0000
commit8d4bcda874962d81d9b1a86480538b40834d8040 (patch)
tree91d6a6cee9b1e06f38df2e814d64502d19a6470c /program/steps/mail/viewsource.inc
parent89406f36c20e4d785bfb35c68e87475329cfbaf5 (diff)
Re-built message parsing (Bug #1327068)
Diffstat (limited to 'program/steps/mail/viewsource.inc')
-rw-r--r--program/steps/mail/viewsource.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/program/steps/mail/viewsource.inc b/program/steps/mail/viewsource.inc
index 0fcb1f9c5..a158bf281 100644
--- a/program/steps/mail/viewsource.inc
+++ b/program/steps/mail/viewsource.inc
@@ -21,16 +21,17 @@
// similar code as in program/steps/mail/get.inc
-if ($_GET['_uid'])
+if ($uid = get_input_value('_uid', RCUBE_INPUT_GET))
{
header('Content-Type: text/plain');
- print rcmail_message_source($_GET['_uid']);
+ //@ob_end_clean();
+ $IMAP->print_raw_body($uid);
}
else
{
raise_error(array('code' => 500,
'type' => 'php',
- 'message' => 'Message UID '.$_GET['_uid'].' not found'),
+ 'message' => 'Message UID '.$uid.' not found'),
TRUE,
TRUE);
}