Route to action appends code after URL

Environment

Discourse Version: 3.2.0.beta4-dev ( 93ca13e534 )

Plugin Commit: discourse-custom-wizard 41e240df

Steps to Reproduce

  1. Create wizard
  2. in Actions add Route To and set https://test.com as the URL, leave the Code field empty.
  3. Test wizard.
  4. On completion you get redirected to https://test.com&=47d47883b47314f0/

Example

Logs

None


Screenshot of the wizard actions.
Looking at the code I believe the error is somewhere around here: discourse-custom-wizard/lib/custom_wizard/action.rb at 41e240df094edac1ade9de299a719e98c09732af · paviliondev/discourse-custom-wizard · GitHub