-
Notifications
You must be signed in to change notification settings - Fork 2.7k
fix(ui): unreachable custom views when admin route set to '/' #12812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui): unreachable custom views when admin route set to '/' #12812
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking this on @rubyjasmin! Seems like we might not need to replace the admin route to begin with, though, as it's already sanitized before being sent to getCustomViewByRoute
. I'm going to make a few small changes to reflect this.
Then we also need a test for this to prevent future regression. I'll take care of this too.
🚀 This is included in version v3.44.0 |
Fixes #12811
Custom Views become unreachable when admin route is set to "/" because the forward slash of the current route gets removed before routing to custom view