Repository navigation
Conversation
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## master #45463 +/- ##
===========================================
- Coverage 86.09% 65.65% -20.44%
===========================================
Files 3140 3140
Lines 219205 219205
Branches 51973 51973
===========================================
- Hits 188723 143922 -44801
- Misses 27054 71937 +44883
+ Partials 3428 3346 -82
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
dmunozv04
approved these changes
Oct 19, 2026
3 tasks done
6 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
Fixes #45384.
Dashboard reports can ignore configured native filters when a value such as
Company 2needs Rison quotes. The report model replaces those quotes with%27, then the permalink redirect URL-encodes them again. After the browser decodes the URL, the remaining%27makes the filter state invalid.Return raw Rison from the report model and let the existing permalink redirect encode it once. Add regression coverage for spaces, apostrophes, Unicode, URL delimiters and literal percent sequences, including reports with tabs disabled, no selected tab, one tab and multiple tabs.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before: the generated dashboard URL contains double-encoded Rison quotes (
%2527), and configured filters fail to decode.After: one URL decode produces valid Rison with the original filter values. Other query parameters and selected tab anchors are preserved.
TESTING INSTRUCTIONS
tests/unit_tests/reports/model_test.py,tests/unit_tests/commands/report/test_native_filter_urls.pyandtests/unit_tests/commands/report/execute_test.py.Manual verification: enable
ALERT_REPORTS,ALERT_REPORTS_FILTERand, for tabbed reports,ALERT_REPORT_TABS. Configure a dashboard report with a filter value containing a space or apostrophe, such asCompany 2orO'Brien. Run the report and compare its PNG/PDF against the dashboard with the same filter applied. Repeat for a selected tab and multiple tabs.ADDITIONAL INFORMATION
ALERT_REPORTS,ALERT_REPORTS_FILTER;ALERT_REPORT_TABSfor selected tabs