Commit d015d606 authored by Patrick Brunschwig's avatar Patrick Brunschwig

fixed bug 503 (boundary should not be changed to lowercase)

parent 826419b9
......@@ -1153,10 +1153,12 @@ function getContentType(shdr) {
}
};
// return the content of the boundary parameter
function getBoundary(shdr) {
try {
shdr += "";
return shdr.match(/boundary="?([A-z0-9'()+_,-.\/:=?]+)"?/)[1].toLowerCase();
return shdr.match(/boundary="?([A-z0-9'()+_,-.\/:=?]+)"?/i)[1];
}
catch (e) {
Ec.DEBUG_LOG("enigmailConvert.jsm: getBoundary: "+e+"\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment