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

Redirect after login leads to incorrect path #2619

Open
4 tasks done
mtrezza opened this issue Oct 21, 2024 · 1 comment
Open
4 tasks done

Redirect after login leads to incorrect path #2619

mtrezza opened this issue Oct 21, 2024 · 1 comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Oct 21, 2024

New Issue Checklist

Issue Description

When the login session of Parse Dashboard has expired, the redirection contains an incorrect URL with an additional slash.

Steps to reproduce

  1. Open a new browser window, log in to Parse Dashboard and navigate to the _User class.
  2. Delete all website data incl. cookies for the dashboard website in the browser settings.
  3. Reload the website.
  4. Browser URL shows login page with URL: https://example.com/login?redirect=/apps/app-name/browser/_User
  5. Open a new browser tab in the same browser window, copy paste the URL above and log in.
  6. Reload the first tab that shows the login page.
  7. A redirection to URL https://example.com//apps/app-name/browser/_User occurs which leads to a 404 site.

Actual Outcome

The redirection URL in step 7 above contains an additional slash.

Expected Outcome

The redirection URL should not contain the additional slash.

Environment

Dashboard

  • Parse Dashboard version: 6.0.0
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Safari
Copy link

parse-github-assistant bot commented Oct 21, 2024

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Oct 21, 2024
@mtrezza mtrezza changed the title Redirection after logout leads to incorrect path Redirection after login leads to incorrect path Oct 21, 2024
@mtrezza mtrezza changed the title Redirection after login leads to incorrect path Redirect after login leads to incorrect path Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

1 participant