rapi-doc / RapiDoc

RapiDoc -WebComponent for OpenAPI Spec
https://rapidocweb.com
MIT License
1.65k stars 277 forks source link

Provide support for encoded (Content-Disposition) header #1001

Closed cl-weclapp closed 1 week ago

cl-weclapp commented 7 months ago

We're using an encoded Content-Disposition-header as specified in RFC 5987.

Example: Content-Disposition: attachment; filename*=UTF-8''example.pdf

The header is not interpreted correctly and the download of documents fails ("Response Status: Cannot read properties of undefined (reading 'replace') (CORS or Network Issue)"). We're loving rapi-doc and with the support of the encoded headers we would be completely happy :-)

Thanks in advance