lucapazz opened a new pull request, #38096: URL: https://github.com/apache/superset/pull/38096
### SUMMARY When exporting data via **CSV**/**JSON**/**Excel** from a **Time-series Table** chart you get a **404 "Page not found"** error. The issue is caused by the malformed export URL, where the origin is duplicated. This PR removes the origin from the generated URL before passing it to the `SupersetClient`, which in turn adds it when making the request. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before: <img width="897" height="102" alt="malformed-chart-export-url" src="https://github.com/user-attachments/assets/540d2025-2ca7-4046-905e-25139a718826" /> ### TESTING INSTRUCTIONS 1. Create or open a **Time-series Table** chart. 2. Click _Download_ → _Export to .CSV_. 3. The CSV file should download successfully, without errors. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [x] Has associated issue: fixes #37896 - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
