Redirection after wizard submission doesn't work

Environment

Discourse Version: v2.5.0.beta2 +239

Plugin Commit: Merge pull request #36 from paviliondev/events-support-imports · paviliondev/discourse-custom-wizard@bd88a74 · GitHub

Other Plugins

Steps to Reproduce

I’m expecting this to work like this.

  1. I redirect the user to topic (ex. Custom Wizard Plugin - plugin - Discourse Meta)
  2. Custom wizard detects a wizard needs to be completed and redirects the user to the wizard
  3. User completes the wizard
  4. Wizard redirects the user to the original URL ttps://meta.discourse.org/t/custom-wizard-plugin/73345

I made this PR to fix one part but something is missing redirection should use original_url if referer is missing by orlando · Pull Request #38 · paviliondev/discourse-custom-wizard · GitHub

Example

Logs

1 Like

Thanks for the PR. cc @angus