Update to URL_ENCODE function


The URL_ENCODE function now takes an optional parameter to customize its behavior. By default this function encodes using "form" encoding but now you can specify "uri" for URI encoding. This will change how certain characters are encoded, such as spaces being encoded as "%20" instead of as a "+" character.

URL_ENCODE("foo bar") # foo+bar
URL_ENCODE("foo bar", encoding: "form") # foo+bar
URL_ENCODE("foo bar", encoding: "uri") # foo%20bar
Colin O'Brien