uri-encode: Unicode aware uri-encoding.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

Unicode aware uri-encoding.


[Skip to Readme]

Properties

Versions 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.6, 1.5.0.7
Change log CHANGELOG.md
Dependencies base (>=4 && <5), bytestring (>=0.9 && <0.11), network (>=2.2 && <2.4.1.0 || >2.4.1.0 && <2.6), network-uri (>=2.6), text (>=0.7 && <1.3), utf8-string (>=0.3 && <1.1) [details]
License BSD-3-Clause
Author Silk
Maintainer code@silk.co
Category Network, Web
Source repo head: git clone https://github.com/silkapp/uri-encode.git
Uploaded by ErikHesselink at 2020-07-18T07:13:35Z

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

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for uri-encode-1.5.0.6

[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.