]> git.notmuchmail.org Git - notmuch/commit
test: normalize only message filenames in show json
authorPeter Wang <novalazy@gmail.com>
Sat, 15 Dec 2012 03:06:42 +0000 (14:06 +1100)
committerDavid Bremner <bremner@debian.org>
Mon, 17 Dec 2012 13:08:04 +0000 (09:08 -0400)
commitee425ae2ad8605a1c57ba2f71562db9f060d2cea
treebc76839f76c3516a4de59053ec7831e28aa44bf7
parent2cdb3f54f71e5e415a930aaa36452ffe1db04d06
test: normalize only message filenames in show json

notmuch_json_show_sanitize replaced "filename" field values even in part
structures, where the value is predictable.  Make it only normalize the
filename value if it is an absolute path (begins with slash), which is
true of the Maildir filenames that were intended to be normalized away.
test/multipart
test/test-lib.sh