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: 4 Replies
Unknown Userβ’2y ago
Message Not Public
Sign In & Join Server To View
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β’2y ago
Message Not Public
Sign In & Join Server To View
URL fragments (#) are not sent to the server. Youβll want to process that data and pass on relevant information to the server.