mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
mime-words encoded strings can have parts separated by just spaces
This commit is contained in:
@@ -1564,7 +1564,7 @@ sub decode_mimewords {
|
||||
$@ = ''; ### error-return
|
||||
|
||||
### Collapse boundaries between adjacent encoded words:
|
||||
$encstr =~ s{(\?\=)\r?\n[ \t](\=\?)}{$1$2}gs;
|
||||
$encstr =~ s{(\?\=)\r?\n?[ \t](\=\?)}{$1$2}gs;
|
||||
pos($encstr) = 0;
|
||||
### print STDOUT "ENC = [", $encstr, "]\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user