FHIR Chat · Escaping : in search · implementers

Stream: implementers

Topic: Escaping : in search


view this post on Zulip Paul Church (Aug 18 2020 at 17:38):

https://www.hl7.org/fhir/search.html#date states "Some user agents may escape the : characters in the URL, and servers SHALL handle this correctly." It doesn't say escaped by what character.

https://www.hl7.org/fhir/search.html#escaping does not list : as one of the characters escaped by \

Is the intent that they be escaped some other way? Or should this be one of the \ escaped characters? Are there any other escaped characters that we're missing?

view this post on Zulip Michele Mottini (Aug 18 2020 at 17:41):

I think it means URL-escaped: %3A

view this post on Zulip Michele Mottini (Aug 18 2020 at 17:42):

as in any parameters can (and probably is) URL escaped

view this post on Zulip Paul Church (Aug 18 2020 at 17:49):

Sounds plausible. It seems odd to call out a SHALL requirement when all of the digits in the date could also be URL escaped and any reasonable http server can deal with that...there's nothing special about :.

view this post on Zulip Vassil Peytchev (Aug 18 2020 at 17:50):

Maybe because : is part of the URL scheme, and considered a reserved character? It is kind of special...


Last updated: Apr 12 2022 at 19:14 UTC