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

Bug - Redirect to URL works not as expected for expired and non-expired session #636

Open
BuilderNSV opened this issue Feb 7, 2025 · 0 comments

Comments

@BuilderNSV
Copy link
Contributor

Environment

  • Server OS: Linux
  • Browser: Firefox
  • Znuny version: 7.1.3

Expected behavior

The same page is opened in case of actual and expired session if Action in URL is provided by RedirectURL parameter

Actual behavior

In case of actual and expired session opened page is different if Action in URL is provided by RedirectURL parameter

How to reproduce

Steps to reproduce the behavior:

  1. Create ticket with ID=1 and prepare URL that looks like "localhost/znuny/index.pl?RequestedURL=http%3A%2F%2Flocalhost%2Fznuny%2Findex.pl%3FAction%3DAgentTicketZoom%3BTicketID%3D1"
  2. End yours session as agent
  3. Go to URL prepared on step 1
  4. See login screen, authorize
  5. See that AgentTicketZoom screen with TickedID=1 has been opened
  6. Go to URL prepared on step 1 from AgentTicketZoom screen
  7. See that Dashboard is opened but expected to see the same AgentTicketZoom screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant