Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ergenius/erhtmle
Erlang library for URL encoding and escaping HTML entities
https://github.com/ergenius/erhtmle
Last synced: 14 days ago
JSON representation
Erlang library for URL encoding and escaping HTML entities
- Host: GitHub
- URL: https://github.com/ergenius/erhtmle
- Owner: ergenius
- License: mit
- Created: 2022-08-06T15:22:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-06T16:05:24.000Z (over 2 years ago)
- Last Synced: 2024-11-05T11:27:32.358Z (2 months ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# erhtmle
Erlang library for URL encoding and escaping HTML entities## Motivation
The need for erhtmle arose while writing various Erlang web applications. Strangely enogh I discovered that there is no Erlang project dedicated to this subject outhere. The comunity copy and paste various implementations from well known projects like Mochiweb or use complex applications sometimes with the sole purpose of excaping HTML or URL entities.
## Security
This library was build with security in mind. Mature well tested implementations in other programming languages where studied in the process of creating erhtmle as well as the following related RFC:
- https://www.rfc-editor.org/rfc/rfc1866.html
- https://www.rfc-editor.org/rfc/rfc3986.html## Features
- Well documented and easy to use.
- Support encoding data used in a query part of a URL.
- Support encoding data according to RFC3986.
- Support converting ALL applicable characters to HTML entities.