-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(notification): Use site_url in notification contexts #11077
base: bugfix
Are you sure you want to change the base?
Conversation
DryRun Security SummaryThe code change in this pull request updates the URL used to navigate to the notifications page based on the selected scope, replacing a hardcoded URL with a Django URL template tag to improve security, maintainability, and flexibility. Expand for full summarySummary: The code change in this pull request updates the URL used to navigate to the notifications page based on the selected scope. The change replaces the hardcoded URL Files Changed:
Code AnalysisWe ran |
@kiblik is this one ready for review? it looks pretty straightforward to me 😄 |
@kiblik Bumping this one again - can this be taken out of draft? |
I came with idea, how to fix it but never had time to test it :) |
Ok, it looks like it works. Feel free to review. |
Dojo was using a static URL while changing the context in the notification menu.
Now, URL is generated from SITE_URL
Reported on https://owasp.slack.com/archives/C2P5BA8MN/p1729065595314239