aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/uri_string.erl
AgeCommit message (Collapse)Author
2018-02-13stdlib: Update uri_string documentation (HTML 5.2)Péter Dimitrov
- Original link to HTML 5.0 specification was broken as the document was moved when later revisions were released. - Form-urlencoded query string handling conforms to the HTML 5.2 specification that references WHATWG URL (10 Jan 2018). - HTML 5.2 does not specify handling of non-UTF-8 form-urlencoded query strings, but it is still supported as described in HTML 5.0. Change-Id: I44603bb501530b16651ecbb9a26ea64e119f83d9
2018-02-08stdlib: Improve URI normalization in uri_stringPéter Dimitrov
- normalize/1 accepts uri_map() as input type and can return error() if URI parsing fails. - Added normalize/2 that can return a normalized uri_map(). Change-Id: Icdd2e60c15019d3eec2e7bc994cae03066a79194
2017-11-09stdlib: Implement compose and dissect query (HTML5)Péter Dimitrov
Implement functions for handling form-urlencoded query strings based on the HTML5 specification.
2017-11-06stdlib: Remove compose_query and dissect_queryPéter Dimitrov
compose_query/{1,2} and dissect_query/1 removed as the implemented specification (HTML 2.0) is old. They will be re-implemented based on HTML5.
2017-11-03stdlib: Refactor functions in uri_stringPéter Dimitrov
2017-10-31stdlib: Fix case normalization (normalize/1)Péter Dimitrov
2017-10-31stdlib: Refactor helper functions in uri_stringPéter Dimitrov
2017-10-27stdlib: Implement normalize/1Péter Dimitrov
Implements the following Syntax-Based Normalizations: - Case Normalization - Percent-Encoding Normalization - Path Segment Normalization - Scheme-Based Normalization - HTTP(S) - Basic support for FTP, SSH, SFTP, TFTP
2017-10-27stdlib: Allow undefined port in uri_map()Péter Dimitrov
uri_map() updated to allow 'undefined' ports in order to align the implementation with RFC 3986: port = *DIGIT An 'undefined' port is mapped to a ":" during recompose operation.
2017-10-26stdlib: Update documentation, error tuplesPéter Dimitrov
2017-10-25stdlib: Refactor dissect_queryPéter Dimitrov
2017-10-25stdlib: Refactor compose_queryPéter Dimitrov
2017-10-24stdlib: Refactor parsed binary calculationPéter Dimitrov
2017-10-24stdlib: Update supported separators (query string)Péter Dimitrov
Update list of supported separators: - escaped_amp (default): "&" - amp: "&" - semicolon: ";"
2017-10-23stdlib: Update documentation (uri_string)Péter Dimitrov
2017-10-23stdlib: Improve error handlingPéter Dimitrov
2017-10-23stdlib: Implement compose_query and dissect_queryPéter Dimitrov
2017-10-23stdlib: Improve support of mixed lists (transcode)Péter Dimitrov
- transcode/2 flattens input lists in order to be able to handle lists with percent-encoded parts that are split into muliple list and binary segments. - Add additional tests for transcoding mixed lists.
2017-10-23stdlib: Change handling of queries ["?" query]Péter Dimitrov
Previously when parsing queries the first "?" was part of the parsed query in the result Map. This behavior has been changed to follow the patterns used with other URI components and to not include the special character(s) that mark the start of a specific component.
2017-10-23stdlib: Implement transcode/2.Péter Dimitrov
2017-10-23stdlib: Add property tests, bugfixesPéter Dimitrov
- Add property tests using PropEr. - Add new testcases to uri_string_SUITE. - Improve calculation of parsed binary. - Verify if input to parse() is UTF8 encoded. - Update is_valid_map(): added check for path and host.
2017-10-23stdlib: Improve calculation of parsed binaryPéter Dimitrov
- Improved calculation of parsed binary. - Added tests for special corner cases. - Fixed dialyzer warnings.
2017-10-23stdlib: Implement recomposePéter Dimitrov
- Implemented recompose function with percent-encoding and validation of IPv4/IPv6 addresses. - Added test for recompose that uses a generated test vector (URI combinations based on a fix set of URI components). - Added test for parse-recompose using a generated test vector. - Removed parsing functions for lists. Lists are converted to binary before parsing.
2017-10-23stdlib: Add support to parse percent-encoded URIsPéter Dimitrov
2017-10-23stdlib: Add support for parsing IPv4 and IPv6Péter Dimitrov
2017-10-23stdlib: Implement uri_string:parsePéter Dimitrov
2017-10-23stdlib: Add API and doc of uri_string modulePéter Dimitrov