You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry Pike; missed this notification.
I'm afraid I don't have enough knowledge of "correct" html syntax to know whether this is the right thing or not. Is it technically bad to have {} in a url in an html document? What if we are trying to use exhibit to generate a url that contains {} after exhibit fills in subcontent? To do this right, do we need a way to tell exhibit to ignore certain {} in a url
Systems accepting IRIs MAY also deal with the printable characters in
US-ASCII that are not allowed in URIs, namely "<", ">", '"', space,
"{", "}", "|", "\", "^", and "`", in step 2 above. If these
characters are found but are not converted, then the conversion
SHOULD fail. Please note that the number sign ("#"), the percent
sign ("%"), and the square bracket characters ("[", "]") are not part
of the above list and MUST NOT be converted. Protocols and formats
that have used earlier definitions of IRIs including these characters
MAY require percent-encoding of these characters as a preprocessing
step to extract the actual IRI from a given field. This
preprocessing MAY also be used by applications allowing the user to
enter an IRI.
I really feel that we're battling one edgecase vs the other. Is that something one could make configurable?
Otherwise I might be stuck with either patching django or patching exihibit :-/
I'm using django to create URLs for exhibit lenses, and that does a iri_to_url, which url-escapes the {{ }} that I passed in.
I'm currently working around that by decodeURI() on the value in the subcontent parser:
@karger, do you have an opinion on whether this is good for exhibit to do or not?
The text was updated successfully, but these errors were encountered: