mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
PHP Deserialize NULL values converted to correctly
PHP Deserialize now correctly returns N as a null instead of an empty object
This commit is contained in:
parent
3472484601
commit
7a3ca027bb
1 changed files with 1 additions and 2 deletions
|
@ -128,8 +128,7 @@ class PHPDeserialize extends Operation {
|
||||||
switch (kind) {
|
switch (kind) {
|
||||||
case "n":
|
case "n":
|
||||||
expect(";");
|
expect(";");
|
||||||
return "";
|
return "null";
|
||||||
|
|
||||||
case "i":
|
case "i":
|
||||||
case "d":
|
case "d":
|
||||||
case "b": {
|
case "b": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue