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
the result will be <basename>//resourceA/1/resourceB/2/resourceC/3 the double slash is causing the issue I belive, I would expect the check for leading slash before concatination
Environment
React-admin version: 5.4.3
Browser: Edge
The text was updated successfully, but these errors were encountered:
What you were expecting:
Im using custom routes, passing
redirect
property toCreate
componentExpected to redirect to the absolute uri returned from the callback
/resourceA/1/resourceB/2/resourceC/3
What happened instead:
instead I was redirected to
/1/resourceB/2/resourceC/3
, according to the code ofredirect
function fromra-core
the result will be
<basename>//resourceA/1/resourceB/2/resourceC/3
the double slash is causing the issue I belive, I would expect the check for leading slash before concatinationEnvironment
The text was updated successfully, but these errors were encountered: