neos / redirecthandler

The Neos.RedirectHandler package for Flow
MIT License
4 stars 15 forks source link

Redirect existing Parameters (and merge with set parameters) #63

Open paavo opened 6 months ago

paavo commented 6 months ago

I'd love to have a way to merge existing Parameters with additional Params set by the redirect target. Not sure if this is a Bug or Feature-Request @Sebobo 😆 I guess it's easiest to explain this with an example:

The existing redirect: image

What happens: Source /pronunciation?utm_source=Print Redirects to: /pronunciation-1?acceptAllCookies

What should happen: Source /pronunciation?utm_source=Print Redirects to: /pronunciation-1?acceptAllCookies&utm_source=Print


Redirects without a target Parameter transfer parameters: Source /data-protection?yolo=true Redirects to: /privacy-notice?yolo=true