Skip to content

fix: correct notifications anchor link for tutor settings url #20

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

Merged
merged 1 commit into from
May 15, 2025

Conversation

Abdul-Muqadim-Arbisoft
Copy link
Contributor

Fixes an issue in Tutor-based installations where the ACCOUNT_SETTINGS_URL contain a trailing slash. The destination link to #notifications now conditionally adds a slash only when necessary, preventing malformed URLs.

@awais-ansari
Copy link
Member

@Abdul-Muqadim-Arbisoft, please update the commit message. The code is looking good to me.

@Abdul-Muqadim-Arbisoft Abdul-Muqadim-Arbisoft changed the title Fix: Correct #notifications anchor link for Tutor settings URL fix: correct notifications anchor link for tutor settings URL May 14, 2025
@Abdul-Muqadim-Arbisoft Abdul-Muqadim-Arbisoft changed the title fix: correct notifications anchor link for tutor settings URL fix: correct notifications anchor link for tutor settings url May 14, 2025
@Abdul-Muqadim-Arbisoft Abdul-Muqadim-Arbisoft force-pushed the fix/account-settings-url-suffix branch from a282815 to f155997 Compare May 15, 2025 08:10
@Abdul-Muqadim-Arbisoft Abdul-Muqadim-Arbisoft force-pushed the fix/account-settings-url-suffix branch from f155997 to 44ba3b9 Compare May 15, 2025 11:29
@awais-ansari awais-ansari merged commit 80ce5e1 into edx:main May 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants