Replies: 2 comments
-
Same issues here. I am still looking for a solution. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems like I'm not the only one. Can anyone suggest the appropriate project to raise this as a bug? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This seems to work as expected on the local dev server, but when the app is deployed to Netlify, any query string parameter (such as
?foo=bar
) gets appended to the redirect URL.The URL, which contains a form:
https://app.example.com/?foo=bar
POSTing the form to itself (
action=""
) will then redirect to a new URL:Actual outcome:
All attempts to prevent this happening (different 30x codes, using a string URL, using a URL object) have failed me so far. Testing requires a commit/push/rebuild loop, so it's very slow to try different options.
Is there a known workaround, is it a bug/feature in Netlify/Lambda, would it be a feature request for sveltekit or the Netlify adaptor?
Actually I have a workaround, which is to set the post action to
"?"
andtarget="_blank"
, but I'd be interested if anyone has any thoughts.Beta Was this translation helpful? Give feedback.
All reactions