mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00: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:
@@ -128,8 +128,7 @@ class PHPDeserialize extends Operation {
|
||||
switch (kind) {
|
||||
case "n":
|
||||
expect(";");
|
||||
return "";
|
||||
|
||||
return "null";
|
||||
case "i":
|
||||
case "d":
|
||||
case "b": {
|
||||
|
||||
Reference in New Issue
Block a user