-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hello,
I noticed I have lot of queries since I installed the plugin whereas I was thinknig it should be only check one time the url to redirect.
The issue comes internal paths, at first, I added a condition on : RedirectionPathResolver with someting like
if(false === strpos($source, '/_fragment/')){
//do the stuff
}
but there is lot of sources with this issue ('wishlist' (wishlist bundle) , 'block' / 'section' / 'page' (CMS bundle).
What is the best way to catch the good one to redirect (at home it should be "/") and not all the internal path render wiht controllers?
The best way should be to detect the good request but when I compare the Symfony\Component\HttpFoundation\Request, there is no way to know the good one.
Maybe add a paramter to excludes somes routes?
Metadata
Metadata
Assignees
Labels
No labels
