microsoft / clarity

A behavioral analytics library that uses dom mutations and user interactions to generate aggregated insights.
https://clarity.microsoft.com
MIT License
2.16k stars 214 forks source link

Uri encode cookie values for compatibility with certain mobile browsers #500

Closed MustafaLeithy closed 1 year ago

MustafaLeithy commented 1 year ago

Some browsers automatically url encode cookie values if they are not url encoded. We fix this by always uri encoding cookies, and supporting the decoding of encoded cookies.