aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/URI.hs
AgeCommit message (Collapse)Author
2025-03-18Handle percent encoding in pBase64URI.John MacFarlane
This improves efficiency. See #10704.
2025-03-18Fix parsing of base64 data URIs...John MacFarlane
...to allow (a) URI escapes, (b) whitespace (which will be ignored). Partially addresses #10704.
2024-12-19T.P.URI: pBase64DataURI now returns mime + bytesJohn MacFarlane
2024-12-18Further improvements to base64 data URI parsing.John MacFarlane
Text.Pandoc.URI: export `pBase64DataURI`. Modify `isURI` to use this and avoid calling network-uri's inefficient `parseURI` for data URIs. Markdown reader: use T.P.URI's `pBase64DataURI` in parsing data URIs. Partially addresses #10075. Obsoletes #10434 (borrowing most of its ideas). Co-authored-by: Evan Silberman <[email protected]>
2024-09-09Add unofficial gemini URI schemePau RE
2024-04-25Update copyright dates to 2024.John MacFarlane
2023-01-10Update copyright years, it's 2023!Albert Krewinkel
2023-01-05isURI: don't require non-ASCII characters to be escaped.John MacFarlane
Closes #8508.
2022-10-15Minor code cleanups.John MacFarlane
2022-10-03Rename T.P.Network.HTTP -> T.P.URI.John MacFarlane
This is still an unexported internal module. Export `urlEncode`, `escapeURI`, `isURI`, `schemes`, `uriPathToPath`. Re-export `escapeURI` and `isURI` from T.P.Shared (as they were exported before); drop exports of `schemes` and `uriPathToPath` [API change]. With this change, T.P.Class no longer depends on T.P.Shared.