hyperfiddle-2020
hyperfiddle-2020 copied to clipboard
ednish needs escape character
- http://tank.hyperfiddle.site/:seattle!neighborhood-edit/~entity('$',(:neighborhood!name,'Admiral,(West,Seattle)')) – broken
Seems like we need an escape char in ednish?
It should just fail fiddle/ident validation because this is always an accident. when the day comes that someone actually wants a ! in their keyword we can talk to them about it
Sure in fiddle/ident that seems unlikely, but all datomic args have this problem too:

Magn/olia! encodes to Magn!olia! in the url, and then decodes back to Magn/olia/
@dustingetz, if you pick an escape character, I can punch the rest through.
Instead of escaping can we fallback to percent encodings?
That would probably cause more harm than good.
URIs that differ in the replacement of an unreserved character with its corresponding percent-encoded US-ASCII octet are equivalent: they identify the same resource. However, URI comparison implementations do not always perform normalization prior to comparison (see Section 6). For consistency, percent-encoded octets in the ranges of ALPHA (%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should not be created by URI producers and, when found in a URI, should be decoded to their corresponding unreserved characters by URI normalizers.
https://tools.ietf.org/html/rfc3986#section-2.3
I see, I think & would work