uri-encode: Unicode aware uri-encoding

[ bsd3, library, network, web ] [ Propose Tags ] [ Report a vulnerability ]

This package allows you to uri encode and uri decode Strings, Texts and ByteString values.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
tools

Build executables

Disabled
Automatic Flags
NameDescriptionDefault
network-uri

Get Network.URI from the network-uri package

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.5.0.1, 1.5.0.2, 1.5.0.3, 1.5.0.4, 1.5.0.5, 1.5.0.6, 1.5.0.7
Change log CHANGELOG.md
Dependencies base (>=4 && <5), bytestring (>=0.9 && <0.13), network (>=2.2 && <2.4.1.0 || >2.4.1.0 && <2.6), network-uri (>=2.6), text (>=0.7 && <2.2), utf8-string (>=0.3 && <1.1) [details]
Tested with ghc ==9.8.1, ghc ==9.6.3, ghc ==9.4.7, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3
License BSD-3-Clause
Author Silk
Maintainer code@silk.co
Revised Revision 3 made by AndreasAbel at 2023-10-10T21:28:50Z
Category Network, Web
Source repo head: git clone https://github.com/silkapp/uri-encode.git
Uploaded by ErikHesselink at 2020-10-18T08:21:10Z
Distributions Arch:1.5.0.7, Debian:1.5.0.6, Fedora:1.5.0.7, LTSHaskell:1.5.0.7, NixOS:1.5.0.7, Stackage:1.5.0.7
Reverse Dependencies 29 direct, 73 indirect [details]
Executables uri-decode, uri-encode
Downloads 26474 total (176 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for uri-encode-1.5.0.7

[back to package description]

uri-encode

Build Status

This package allows you to uri encode and uri decode Strings, Texts and ByteStrings.

The default is to encode everything but ASCII alphabetic characters, decimal digits, and - _ . ~, according to RFC 3986.

It has support for all of unicode, by first encoding strings to UTF8, and then encoding the individual bytes. This works both for network > 2.4 (which also does this) and for older version.

Additionally, two command line utilities are provided if the package is built with the tools flag: uri-encode and uri-decode.