reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Allow me to get GET params also when the URL uses a '#' instead of a '?'

Open dentroai opened this issue 1 year ago β€’ 3 comments

Describe the Custom Component So I'm getting an access token in the URL like that: http://localhost:3000/#access_token=eyJhbGciOiJIUzI....

Seems like self.router.page.params can't get get params if the URL uses a hashtag '#'.

For such cases, I need to access self.router.page.raw_path and parse it myself, which is unnecessary work.

Also parse params for URLs with hashtags!

Additional context reflex 0.6.0

dentroai avatar Dec 05 '24 21:12 dentroai

Can I work on this, plz assign it to me.

Rustix1604 avatar Dec 12 '24 07:12 Rustix1604

@Rustix1604 just assigned you!

picklelo avatar Dec 13 '24 02:12 picklelo

Hey there. When the url includes # this means a very different thing than ?. Read on https://en.wikipedia.org/wiki/URI_fragment

adhami3310 avatar Feb 03 '25 19:02 adhami3310