summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-03-28 15:35:12 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-03-28 15:35:12 (GMT)
commitc619f65f15cd0877658ae9a0c0e3748b8fc0896b (patch)
treea59da43e725ad2afbc7a905940b8e81fe6febbe6 /doc
parent3cd192c81cef20472a54a3c9afefc28361a0e316 (diff)
downloadtcl-c619f65f15cd0877658ae9a0c0e3748b8fc0896b.zip
tcl-c619f65f15cd0877658ae9a0c0e3748b8fc0896b.tar.gz
tcl-c619f65f15cd0877658ae9a0c0e3748b8fc0896b.tar.bz2
[ffeb2097af] Restore the standard and original practice of ignoring invalid
characters when decoding base64. Error only in -strict mode. See RFC 2045.
Diffstat (limited to 'doc')
-rw-r--r--doc/binary.n11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/binary.n b/doc/binary.n
index 261b765..1f93c03 100644
--- a/doc/binary.n
+++ b/doc/binary.n
@@ -78,7 +78,9 @@ During decoding, the following options are supported:
.TP
\fB\-strict\fR
.
-Instructs the decoder to throw an error if it encounters whitespace characters. Otherwise it ignores them.
+Instructs the decoder to throw an error if it encounters any characters
+that are not strictly part of the encoding itself. Otherwise it ignores them.
+RFC 2045 calls for base64 decoders to be non-strict.
.RE
.TP
\fBhex\fR
@@ -92,7 +94,8 @@ options are supported:
.TP
\fB\-strict\fR
.
-Instructs the decoder to throw an error if it encounters whitespace characters. Otherwise it ignores them.
+Instructs the decoder to throw an error if it encounters whitespace characters.
+Otherwise it ignores them.
.RE
.TP
\fBuuencode\fR
@@ -122,8 +125,8 @@ During decoding, the following options are supported:
.TP
\fB\-strict\fR
.
-Instructs the decoder to throw an error if it encounters unexpected whitespace
-characters. Otherwise it ignores them.
+Instructs the decoder to throw an error if it encounters unexpected
+whitespace characters. Otherwise it ignores them.
.PP
Note that neither the encoder nor the decoder handle the header and footer of
the uuencode format.