microsoft / clarity

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

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

Closed MustafaLeithy closed 10 months ago

MustafaLeithy commented 10 months 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.