Feature/cherrypick ws (#52)
* int to hex * Websocket frame size * Hash methods refactor * Uri components fix
This commit is contained in:
1 parent
0e2be8d5bb
commit
0d79c4975e
4 files changed
+56
-14
No files matched your search
@@ -13,7 +13,7 @@ namespace WebUtils
|
||||
if Instr(0, component, "=")
|
||||
keyValue = component.split("=")
|
||||
key = keyValue[0]
|
||||
value = keyValue[1]
|
||||
value = keyValue[1].DecodeUriComponent()
|
||||
hasValue = true
|
||||
end if
|
||||
|
||||
@@ -22,11 +22,13 @@ namespace WebUtils
|
||||
if GetInterface(oldValue, "ifArray") = invalid
|
||||
oldValue = [oldValue]
|
||||
end if
|
||||
oldValue.push(value)
|
||||
oldValue.push(value.DecodeUriComponent())
|
||||
value = oldValue
|
||||
end if
|
||||
|
||||
query[key] = value
|
||||
if key <> ""
|
||||
query[key] = value
|
||||
end if
|
||||
end for
|
||||
return query
|
||||
end function
|
||||
|
||||
Reference in new issue
Block a user