summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLejo1 <Lejo_1@web.de>2020-05-20 21:54:52 +0200
committerSmallJoker <mk939@ymail.com>2020-05-22 14:26:22 +0200
commite79bc40c0a5312baf4e8c3e33048d50b41b4a2ff (patch)
tree0d7f2c8cc29990a33d78f025d4bbca030a81130f /doc
parent7ab0c0662a95eb504665c940f92c2fde895929be (diff)
downloadminetest-e79bc40c0a5312baf4e8c3e33048d50b41b4a2ff.tar.gz
minetest-e79bc40c0a5312baf4e8c3e33048d50b41b4a2ff.tar.bz2
minetest-e79bc40c0a5312baf4e8c3e33048d50b41b4a2ff.zip
Check for valid base64 before decoding (#9904)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 0101bd4cf..bd0cb8acb 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -5449,7 +5449,7 @@ Misc.
* Example: `minetest.rgba(10, 20, 30, 40)`, returns `"#0A141E28"`
* `minetest.encode_base64(string)`: returns string encoded in base64
* Encodes a string in base64.
-* `minetest.decode_base64(string)`: returns string
+* `minetest.decode_base64(string)`: returns string or nil for invalid base64
* Decodes a string encoded in base64.
* `minetest.is_protected(pos, name)`: returns boolean
* Returning `true` restricts the player `name` from modifying (i.e. digging,