Recieving Hash param in URL

Thanks for reporting an issue! Spend 60 seconds reading this…

  1. Before reporting, make sure you have the latest version of Wappler.
  2. Make sure you have searched the forum first for similar issues being reported
  3. If it is a general web related issue - do a Google Search first
  4. Issue tracker is only for bugs and feature requests, in English only.
  5. Learn how to report bugs effectively

======== TEMPLATE BUG FORM ========

Wappler Version :2.9.1
Operating System : macOS 10.15.4

Expected behavior

What do you think should happen?

I should be able to get URL parameters even when they are coming as hash params (fqdn#param1&param2). it seems to only work if it uses ? (fqdn?param1&param2). I have no control on the source so cannot inforce ?.

Actual behavior

What actually happens?
the first parameter immediately after # is not being read, the following parameters after each & work as expected.

…YOUR TEXT HERE …

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

…YOUR TEXT HERE …

in the below example id_token will not be read into a query param

https://tenant1.dev.oxeler.com/auth.htm#id_token=eyJraWQiOiJiYVVPeWRPZUE1RjcyY3JrZndVZ2pKSFwvdWdhU1ByWlVyQlFMWEtDcHJoST0iLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoiU1hseFFnb0pYWWZyT2xiUFZ4RG1HdyIsInN1YiI6ImM1OTJhOWJlLWM1NDEtNDc4Ni1iZjM1LTViNTU0ZGVhODkzNSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl9iN1FBUjE0QkYiLCJjb2duaXRvOnVzZXJuYW1lIjoiZWxkYWQiLCJnaXZlbl9uYW1lIjoiRWxkYWQiLCJhdWQiOiIzbWtlYTNwa2I2YXBjcDE4M2lsNThjbGk4cSIsImV2ZW50X2lkIjoiMmM5OTViYzgtZDEwNy00YTRlLWI1YzAtODZhMGJiZDBhZjQ0IiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE1OD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