Skip to content

fix: during oauth login restore action from url#13

Open
roock wants to merge 1 commit into
bestpractical:masterfrom
roock:redirect_action
Open

fix: during oauth login restore action from url#13
roock wants to merge 1 commit into
bestpractical:masterfrom
roock:redirect_action

Conversation

@roock
Copy link
Copy Markdown

@roock roock commented Apr 21, 2026

When opening an url like: /Ticket/Display.html?id=35&Action=Take

The second query parameter is lost during the oauth redirect(s).

rt-login

(Sorry, language of the Screenshot is in German)

This is due to the fact that $args->{next} only contains the first query parameter.

Additonally the whole state needs to be uri_escaped, otherwise the param will get lost during the redirect to the oauth2 provider.

The supplied patch is not perfect, but hopefully a good starting point to solve this issue.

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.

1 participant