Skip to content

Added “next” param to form action - #3

Merged
arikfr merged 1 commit into
masterfrom
next
Jun 24, 2019
Merged

Added “next” param to form action#3
arikfr merged 1 commit into
masterfrom
next

Conversation

@ranbena

@ranbena ranbena commented Jun 19, 2019

Copy link
Copy Markdown
Contributor

Fixes #2.

Dunno how to test it.
Should work?

@ranbena
ranbena requested a review from arikfr June 19, 2019 06:53
@ranbena ranbena self-assigned this Jun 19, 2019
@gabrieldutra

Copy link
Copy Markdown
Member

Local setup with Redash proxy it seemed to work:

next-login-page

@arikfr
arikfr merged commit 1d84ca3 into master Jun 24, 2019
@arikfr

arikfr commented Jun 24, 2019

Copy link
Copy Markdown
Member

Merged. It will auto deploy soon. If it causes issues just push another change.

@gabrieldutra

gabrieldutra commented Jun 24, 2019

Copy link
Copy Markdown
Member

Nice to have this working :)

One difference from local and prod for this I just noticed is that locally the url comes Encoded, while in prod it doesn't, this affects multiple Query String parameters on the url (e.g: list pages with search parameters). Still it's better than before.

I actually had in mind to change the host param location to be on the Body and not on the Query (#4 to share the idea in code), I preferred this PR's approach as it seemed safer (only frontend asset changed), but considering the above I opened a new PR with my idea in case it becomes convenient.

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.

Succesful login not redirecting to "/?next"

3 participants