mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Merge pull request #1148 from egyptianbman/escape-message-id
Escape Message-ID during update binaries
This commit is contained in:
@@ -895,6 +895,9 @@ class Binaries
|
||||
$binariesUpdate[$binaryID]['Parts']++;
|
||||
}
|
||||
|
||||
// In case there are quotes in the message id
|
||||
$this->header['Message-ID'] = addslashes($this->header['Message-ID']);
|
||||
|
||||
// Strip the < and >, saves space in DB.
|
||||
$this->header['Message-ID'][0] = "'";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user