From 5e1087e457db2b41dab45deb9a8f88c2b9e2202d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Tue, 1 Oct 2024 03:08:37 -0400 Subject: [PATCH] File.read() encodes base64, it doesn't decode. --- src/sbbs3/js_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/js_file.c b/src/sbbs3/js_file.c index 33a4ea779c..56fd88fa5d 100644 --- a/src/sbbs3/js_file.c +++ b/src/sbbs3/js_file.c @@ -2934,7 +2934,7 @@ static jsSyncMethodSpec js_file_functions[] = { ,310 }, {"read", js_read, 0, JSTYPE_STRING, JSDOCSTR("[maxlen=<i>file_length</i>-<i>file_position</i>]") - ,JSDOCSTR("Read a string from file (optionally unix-to-unix or base64 decoding in the process), " + ,JSDOCSTR("Read a string from file (optionally unix-to-unix or base64 encoding in the process), " "<i>maxlen</i> defaults to the current length of the file minus the current file position") ,310 }, -- GitLab