insomnia-url
Advanced tools
Comparing version 2.3.0-beta.2 to 2.3.0-beta.4
@@ -7,3 +7,8 @@ "use strict"; | ||
const ESCAPE_REGEX_MATCH = /[-[\]/{}()*+?.\\^$|]/g; | ||
const URL_PATH_CHARACTER_WHITELIST = '+,;@=:'; | ||
/** see list of allowed characters https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 */ | ||
const RFC_3986_GENERAL_DELIMITERS = ':@'; // (unintentionally?) missing: /?#[] | ||
/** see list of allowed characters https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 */ | ||
const RFC_3986_SUB_DELIMITERS = '$+,;='; // (unintentionally?) missing: !&'()* | ||
/** see list of allowed characters https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 */ | ||
const URL_PATH_CHARACTER_WHITELIST = `${RFC_3986_GENERAL_DELIMITERS}${RFC_3986_SUB_DELIMITERS}`; | ||
const getJoiner = (url) => { | ||
@@ -10,0 +15,0 @@ url = url || ''; |
{ | ||
"name": "insomnia-url", | ||
"version": "2.3.0-beta.2", | ||
"version": "2.3.0-beta.4", | ||
"author": "Kong <office@konghq.com>", | ||
@@ -31,3 +31,3 @@ "description": "URL Utilities", | ||
}, | ||
"gitHead": "34b8c1726019b2e87c5df678086c7896b3bc6389" | ||
"gitHead": "af8e59b4ea981ca11c219521b658da5ed7e02c21" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22496
307