summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/opcionesbotonesop.php
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-05-05 13:12:33 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-10 10:33:10 +0200
commitbaa9cb0fbb02acef896d1b5e0cb316bd993f5d1a (patch)
tree5648e8201aff74b4050275741e20cfa8cbcd9b8e /admin/WebConsole/includes/opcionesbotonesop.php
parent8634dd3ac37bc821afd0e7f321eb0064247074a2 (diff)
#804 Limit legacy SocketHidra key-value split
This bug was found by USAL and UPV. They reported that WebConsole was showing scripts incompletely if they contain "=". SocketHidra stores key-value pair as "<key>=<value>" string, and the parser splits the string on "=" characters and pick the first two elements. Thus, if the value also contains "=", the parser splits it and only picks the first part. Note: keys strings never contain "=". With "scp=this=is=a=test" as example BEFORE this commit the parser returns "scp" as key "this" as value AFTER this commit the parser returns "spc" as key "this=is=a=test" as value Limit legacy SocketHidra key-value split to two elements, key and value. This commit also removes script decoding because WebConsole stores them decoded since v1.2.0.
Diffstat (limited to 'admin/WebConsole/includes/opcionesbotonesop.php')
0 files changed, 0 insertions, 0 deletions