yyqdbngt opened a new issue, #2192: URL: https://github.com/apache/rocketmq-dashboard/issues/2192
### What happened? Alert-rule asset export builds the response header with `setContentDispositionFormData`. That produces a `form-data` disposition intended for a multipart form part, even though the endpoint is a normal file download. Browsers and API clients may therefore fail to treat the YAML response as an attachment. ### Expected behavior Return a standards-compliant `Content-Disposition: attachment` header with the UTF-8 YAML filename. ### Reproduction Export an alert-rule asset and inspect the response headers. The current disposition begins with `form-data` instead of `attachment`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
