How to disable dynamic route segments being added to search params?
Unanswered
Yacare Caiman posted this in #help-forum
Yacare CaimanOP
Hi,
I need to have a catch-all dynamic route
I need access to the original search parameters submitted by the user.
However it appears that the dynamic route segment(s) are being added (
I was expecting the URL to be the original submission.
Is there a way to disable this undesirable behavior or is there an alternative for accessing the original URL submitted by the user? I'm new to the framework, but I couldn't find any relevant configuration option or information.
Thanks in advance
I need to have a catch-all dynamic route
[...segments] that may include search parameters in the request.I need access to the original search parameters submitted by the user.
However it appears that the dynamic route segment(s) are being added (
https://.../?segments=<segments>) to the request URL (request.url). This happens whether the route is catch-all or not.I was expecting the URL to be the original submission.
Is there a way to disable this undesirable behavior or is there an alternative for accessing the original URL submitted by the user? I'm new to the framework, but I couldn't find any relevant configuration option or information.
Thanks in advance