diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-09-19 00:46:38 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-09-19 11:23:29 -0400 |
commit | a913c5721aeee0feca1309705ac4d5004996e073 (patch) | |
tree | f9a0bdff7fd88ebef50f972202beba6a6c4ac8a2 /piem-b4.el | |
parent | dd52b69332f077644f792b49f1ea7c58397a0e97 (diff) | |
download | piem-a913c5721aeee0feca1309705ac4d5004996e073.tar.gz |
Escape message IDs when constructing URLs
Message IDs can include characters that must escaped before being
included in the path part of public-inbox URLs. Add a variant of
url-hexify-string that uses the same set of characters as
public-inbox's mid_escape().
Message-Id: <20200919044639.26871-2-kyle@kyleam.com>
Diffstat (limited to 'piem-b4.el')
-rw-r--r-- | piem-b4.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ (mid (piem-mid)) (buffer (condition-case nil (piem-download-and-decompress - (concat url mid "/t.mbox.gz")) + (concat url (piem-escape-mid mid) "/t.mbox.gz")) (error nil)))) (with-current-buffer buffer (write-region nil nil mbox-thread)) |