Feature/tag/urlencode #11

Merged
bazaah merged 8 commits from feature/tag/urlencode into master 2021-06-26 08:24:08 +00:00

8 Commits

Author SHA1 Message Date
Paul Stemmet 93d45391c1
scalar/escape: clippy lints 2021-06-26 08:21:32 +00:00
Paul Stemmet 8f75fa047e
scalar/escape: add more unit tests for tag_uri_unescape 2021-06-26 08:04:03 +00:00
Paul Stemmet ff76d34662
scalar/escape: fix flow_unescape documentation 2021-06-26 08:03:25 +00:00
Paul Stemmet 20760ba9cd
scalar/escape: move exported fns to top, document tag_uri_unescape 2021-06-26 07:50:44 +00:00
Paul Stemmet c7a2b028f0
scalar/escape: add tag_uri_unescape
This function unescapes percent encoded tag URIs, in accordance with
Section 5.6 Miscellaneous Characters #ns-uri-char

- Also add unit test for function
2021-06-26 07:37:52 +00:00
Paul Stemmet 1802bdbba4
scalar/escape: as_hex returns u8
This allows the caller to decide if a cast is necessary
2021-06-26 07:36:23 +00:00
Paul Stemmet 8719af5ecf
scanner/macros: add isHex! 2021-06-26 07:34:37 +00:00
Paul Stemmet b7575fa0da
scanner/macros: fix error path syntax 2021-06-26 07:24:57 +00:00