Skip to content
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 redirect bug #1629

Merged
merged 4 commits into from
Jan 12, 2024
Merged

Fix redirect bug #1629

merged 4 commits into from
Jan 12, 2024

Conversation

wizardlyhel
Copy link
Contributor

WHY are these changes introduced?

Fix a redirect bug that would allow for cross domain redirects

WHAT is this pull request doing?

HOW to test your changes?

Post-merge steps

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

Comment on lines 83 to 84
// Testing url: http://localhost:3000/missing?return_to=%01http%3A%2F%2Fexample.com
// Expected result: Should not redirect
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this comment be in the test instead of the source?

@wizardlyhel wizardlyhel merged commit 810f48c into main Jan 12, 2024
10 checks passed
@wizardlyhel wizardlyhel deleted the fix-redirect-regex branch January 12, 2024 18:30
This was referenced Jan 12, 2024
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.

2 participants