unisonweb / ui-core

Shared design system and core components for Unison Local and Unison Share
MIT License
23 stars 4 forks source link

Hashes in URLs and API URLs should be URI encoded #49

Closed hojberg closed 2 years ago

hojberg commented 2 years ago

A few hashes have special characters in them. Namely hashes of builtin terms, for instance divide: ##Nat./.

When rendering this to the URL or using it as in an API request, we want to URI encode everything but the # symbols, which should be replaced with @. Note that there can be multiple # symbols in the string at multiple locations.

hojberg commented 2 years ago

This has been fixed now :)