]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: Strip whitespace from references
authorStephen Finucane <stephen@that.guru>
Wed, 24 May 2017 05:54:55 +0000 (06:54 +0100)
committerStephen Finucane <stephen@that.guru>
Tue, 30 May 2017 20:08:52 +0000 (21:08 +0100)
commit6763667ffc1012bd544d2b08d342c4a5abef80d9
tree5cf3c97493eeb4a00dfc9efd695d597476197526
parentb496af4090a5eda099c48447d5ff63e24d075aa5
parser: Strip whitespace from references

Some mail, particularly those generated with older versions of
git-send-email or written by hand, include some extra whitespace in the
'References' and 'In-Reply-To' lines. Ensure we always strip this,
preventing mismatches between this and 'Message-ID', which is already
stripped of whitespace, when looking up SeriesReference's.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/parser.py