aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-post-deploy
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-05-24 18:50:16 +0100
committerMark Longair <mhl@pobox.com>2013-05-24 18:50:16 +0100
commit501b2b8672d294268b2eb112092e70ffc2728539 (patch)
tree43c973891c776f5736b60c48bbccabec9b04f509 /script/rails-post-deploy
parent390fcdb70b5474a4a66598e2c6bb123a6337bd53 (diff)
Check that display_filename matches URL part number or fallback
If the display_filename of the attachment found from the URL part number doesn't match the passed in display_filename then the email may have been reparsed, causing a reordering. In that case, look to see if there is another attachment that uniquely matches that filename, and, if so, return that other attachment. If no matching uniquely matching filename is found, redirect to the incoming message, rather than returning a 404.
Diffstat (limited to 'script/rails-post-deploy')
0 files changed, 0 insertions, 0 deletions