projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e094704
)
Don't mangle JS when saving
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 20 Dec 2008 07:22:28 +0000
(07:22 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 20 Dec 2008 07:22:28 +0000
(07:22 +0000)
mailboxes/detach.cgi
patch
|
blob
|
history
diff --git
a/mailboxes/detach.cgi
b/mailboxes/detach.cgi
index
aea9971
..
e223f3e
100755
(executable)
--- a/
mailboxes/detach.cgi
+++ b/
mailboxes/detach.cgi
@@
-86,7
+86,7
@@
else {
print "Content-type: $attach->{'type'}\n\n";
}
}
- if ($attach->{'type'} =~ /^text\/html/i) {
+ if ($attach->{'type'} =~ /^text\/html/i
&& !$in{'save'}
) {
print &safe_urls(&filter_javascript($attach->{'data'}));
}
else {