getQuery() with a url doesn't work very well?

Using getQuery, I want to get a parameter called url. For short url it works (https://nuxt.com/modules gives https://nuxt.com/modules). But with a more complex URL like this: https://portal.azure.com/#@eduetatfr.onmicrosoft.com/resource/subscriptions/[my id]/resourceGroups/DefaultResourceGroup-westeurope/overview , I only get https://portal.azure.com and not the whole URL. Code:
const { url } = await getQuery(event);
const { url } = await getQuery(event);
4 Replies
Unknown User
Unknown Userβ€’2y ago
Message Not Public
Sign In & Join Server To View
Cetus πŸ”›πŸ”
on the url variable ? Oh no, it's because of the #. Any idea how to fix this? Apart from transferring the data through the body I don't know.
Unknown User
Unknown Userβ€’2y ago
Message Not Public
Sign In & Join Server To View
Cue
Cueβ€’2y ago
URL fragments (#) are not sent to the server. You’ll want to process that data and pass on relevant information to the server.
Want results from more Discord servers?
Add your server