You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i noticed in that the feedback redirect target parameter we can add only a url or an path.
Though if we have a multilingual website it is problematic.
for example on the config: boltforms.bolt.yml
...
feedback:
success: form.pionners.success_msg
error: form.pionners.error_msg
redirect:
target: /mypath # A page path, or URL
query: [ email, code ] # Optional keys for the GET parameters
Hello, i noticed in that the feedback redirect target parameter we can add only a url or an path.
Though if we have a multilingual website it is problematic.
for example on the config: boltforms.bolt.yml
for a my rooting config:
thought: /mypath with not work.
because i have actually these urls:
this will work:
it is impossible to add the route name.
this will not work:
because the RedirectableUrlMatcher is used into these files:
extensions/vendor/bolt/boltforms/src/Submission/Handler/Redirect.php
on the function: getRedirectResponse
does anyone have a way to make it work?
otherwise, what do you think it could be the best way to make it work?
The text was updated successfully, but these errors were encountered: