biocore / redbiom

Sample search by metadata and features
Other
45 stars 20 forks source link

Escape periods #88

Closed wasade closed 5 years ago

wasade commented 5 years ago

Webdis interprets /SET/FOO/BAR.html as SET FOO BAR in Redis. The .html gets used by Webdis as a request for a change in Content-Type. This alters the return response from Webdis and violates an assumption made by redbiom._requests that all returns are JSON. This resolves the issue by encoding "." as "2%E" per the encodings noted in the Webdis command format documentation.