projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c02a5
)
Handle multiple <body> tags
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 5 Mar 2009 19:11:08 +0000
(19:11 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 5 Mar 2009 19:11:08 +0000
(19:11 +0000)
mailboxes/folders-lib.pl
patch
|
blob
|
history
diff --git
a/mailboxes/folders-lib.pl
b/mailboxes/folders-lib.pl
index
1361ca4
..
fcfce2c
100644
(file)
--- a/
mailboxes/folders-lib.pl
+++ b/
mailboxes/folders-lib.pl
@@
-2194,7
+2194,7
@@
sub safe_html
{
local $html = $_[0];
local $bodystuff;
-if ($html =~ s/^[\000-\377]*<BODY([^>]*)>//i) {
+if ($html =~ s/^[\000-\377]*
?
<BODY([^>]*)>//i) {
$bodystuff = $1;
}
$html =~ s/<\/BODY>[\000-\377]*$//i;