mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix page request arguments
This commit is contained in:
parent
adc287baf3
commit
2a1684c126
1 changed files with 1 additions and 3 deletions
|
|
@ -12,11 +12,9 @@ function gui_util.parse_query(query)
|
|||
local argstr = string.sub(query, index + 1)
|
||||
name = string.sub(query, 1, index - 1)
|
||||
|
||||
local map = {}
|
||||
for key, value in string.gmatch(argstr, "([^=&]*)=([^&]*)") do
|
||||
map[key] = value
|
||||
args[key] = value
|
||||
end
|
||||
table.insert(args, map)
|
||||
else
|
||||
name = query
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue