Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 6515:df4f955544aa | 6517:a22ea1a7e92c |
|---|---|
| 29 request in REST interface. (John Rouillard) | 29 request in REST interface. (John Rouillard) |
| 30 - In write_html set the Content-Length when response is not | 30 - In write_html set the Content-Length when response is not |
| 31 encoded/compressed. (John Rouillard) | 31 encoded/compressed. (John Rouillard) |
| 32 - In REST interface do not raise UsageError for invalid api version. | 32 - In REST interface do not raise UsageError for invalid api version. |
| 33 Return json error with proper message. Fixes crash. (John Rouillard) | 33 Return json error with proper message. Fixes crash. (John Rouillard) |
| 34 - In REST interface, only allow .json or .xml (if supported) as | 34 - In REST interface, allow extensions on URI less than 6 characters in |
| 35 extensions. All other paths with a . in then will be passed through | 35 length. All other paths with a . in then will be passed through |
| 36 without change. This allows items like a JWT to be passed as a path | 36 without change. This allows items like a JWT to be passed as a path |
| 37 element. (John Rouillard) | 37 element. (John Rouillard) |
| 38 | 38 |
| 39 Features: | 39 Features: |
| 40 | 40 |
