Mercurial > p > roundup > code
diff CHANGES.txt @ 6517:a22ea1a7e92c
Fix extension in url support
Make error cases: .jon return errors in tests. I must not have tested
the prior checkin. This limits length of extension to under 6
characters. This allows most mime types (including .vcard maybe for
downloading a users record) likley to be specified for download.
It also permits JWT though.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 21 Oct 2021 10:40:15 -0400 |
| parents | df4f955544aa |
| children | e6ae8188f61a |
line wrap: on
line diff
--- a/CHANGES.txt Wed Oct 20 23:21:46 2021 -0400 +++ b/CHANGES.txt Thu Oct 21 10:40:15 2021 -0400 @@ -31,8 +31,8 @@ encoded/compressed. (John Rouillard) - In REST interface do not raise UsageError for invalid api version. Return json error with proper message. Fixes crash. (John Rouillard) -- In REST interface, only allow .json or .xml (if supported) as - extensions. All other paths with a . in then will be passed through +- In REST interface, allow extensions on URI less than 6 characters in + length. All other paths with a . in then will be passed through without change. This allows items like a JWT to be passed as a path element. (John Rouillard)
