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
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?
The text was updated successfully, but these errors were encountered:
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
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?
The text was updated successfully, but these errors were encountered: