Skip to content

chore(deps): code scanning fixes#6

Merged
f-allian merged 2 commits into
mainfrom
f-allian-patch-1
Jul 14, 2026
Merged

chore(deps): code scanning fixes#6
f-allian merged 2 commits into
mainfrom
f-allian-patch-1

Conversation

@f-allian

Copy link
Copy Markdown
Contributor

This pull request introduces a security improvement and a configuration update to the project. The main focus is on ensuring safer URL redirection in the language switcher and setting explicit permissions for the GitHub Actions workflow.

Security improvements:

  • Added a final safety check in the switch_language view to validate that the redirect URL is safe, preventing potential open redirect vulnerabilities. If the URL is not allowed, it defaults to '/'. (slic/urls.py)

CI/CD configuration:

  • Set the contents: read permission for the workflow in .github/workflows/test.yml to follow the principle of least privilege.

f-allian and others added 2 commits July 14, 2026 11:53
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@f-allian f-allian self-assigned this Jul 14, 2026
@f-allian f-allian added the enhancement New feature or request label Jul 14, 2026
@f-allian
f-allian merged commit e1ad292 into main Jul 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant