From 2b6f5e56a2f84022db81f2d2f1f5ea9b8deaddd6 Mon Sep 17 00:00:00 2001 From: Hyosik Philip Joo Date: Mon, 22 Apr 2024 12:55:28 +0900 Subject: [PATCH] docs: Add description for encodeUri --- API.md | 1 + 1 file changed, 1 insertion(+) diff --git a/API.md b/API.md index f7d6653c..b74d8782 100755 --- a/API.md +++ b/API.md @@ -3085,6 +3085,7 @@ Requires the string value to be a valid [RFC 3986](http://tools.ietf.org/html/rf - `relativeOnly` - Restrict only relative URIs. Defaults to `false`. - `allowQuerySquareBrackets` - Allows unencoded square brackets inside the query string. This is **NOT** RFC 3986 compliant but query strings like `abc[]=123&abc[]=456` are very common these days. Defaults to `false`. - `domain` - Validate the domain component using the options specified in [`string.domain()`](#stringdomainoptions). + - `encodeUri` - Encodes the uri with non-alphabetical characters. Defaults to `false`. ```js // Accept git or git http/https