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
{{ message }}
Repository navigation
Allow redirect() method to convert routes into SES links #556
Have I uncovered a bug, or maybe these methods do not analyze the routes, when converting links into SES links.
And Sean replied:
Routing is unidirectional: it's applied inbound on requests, not outbound on responses (so redirect() and buildURL() do not consider route mappings). It's an interesting potential enhancement -- but no one's maintaining FW/1 these days so it is very unlikely to get added, unless you decide to implement it and submit a PR.
New signature:
This is what I reckon the new signature for the redirect() method could be:
public void function redirect(
string action,
string preserve = “none”,
string append = “none”,
string path = see below,
any queryString = ‘’,
string statusCode = ‘302’,
string header = ‘’,
boolean applyRoute = false
)
So the new param would be applyRoute
I would be happy to add this change, if you would like:
Activity
matthewjones commentedon May 14, 2025
when i want to do something similar, i utilize buildCustomUrl() or redirectCustomUrl()