Javascript RFC 3986 implementation?

Is there already a javascript / library / snippet function for checking the specifications of the RFC 1738 URL listed at http://www.ietf.org/rfc/rfc3986.txt ?

+6
source share
2 answers

From http://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/plugin/uri.js

Implements RFC 3986 to parse / format URIs.

Use cases can be found in unit tests .

+4
source

No, but I wrote an article that examines the related RFC-3986 (which updates 1738):

Validating a URI

I created an article so that you can double-click any of the regular expressions to get a correctly formatted snippet for different languages.

+3
source

Source: https://habr.com/ru/post/892142/


All Articles