diff options
Diffstat (limited to 'doc/classes/PacketPeer.xml')
-rw-r--r-- | doc/classes/PacketPeer.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/PacketPeer.xml b/doc/classes/PacketPeer.xml index 34357eb835..d52bf4e3bb 100644 --- a/doc/classes/PacketPeer.xml +++ b/doc/classes/PacketPeer.xml @@ -62,7 +62,7 @@ </method> </methods> <members> - <member name="allow_object_decoding" type="bool" setter="set_allow_object_decoding" getter="is_object_decoding_allowed"> + <member name="allow_object_decoding" type="bool" setter="set_allow_object_decoding" getter="is_object_decoding_allowed" default="false"> [i]Deprecated.[/i] Use [code]get_var[/code] and [code]put_var[/code] parameters instead. If [code]true[/code], the PacketPeer will allow encoding and decoding of object via [method get_var] and [method put_var]. [b]Warning:[/b] Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution. |