Allow to use a different parameter separator
golgote opened this issue · 1 comments
golgote commented
Allow use of ; or & or whatever to separate query string parameters. This should be set in the parser or builder configuration.
golgote commented
works, example:
local url = require 'net.url'
url.options.separator = ";"
s = ";first=val1;;;;second=val2;third[1]=val3;";
q = url.parseQuery(s)
returns:
{
["first"] = "val1",
["second"] = "val2",
["third"] = {[1] = "val3"}
}