Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cd1edf80b7b8e5c01a29d1c244d025516e8bb2a7697535e370d9114f2426757c
Ticket: ffeb2097afc82afd346901bde7e3db5d898ce993
[binary decode base64] errors on invalid chars instead of ignoring them
User & Date: aku on 2020-03-27 23:39:40
Changes

  1. icomment:
    The comment in Tcllib referencing the RFC is
    
    ```
    # RFC 2045 says that line breaks and other characters not part
    # of the Base64 alphabet must be ignored, and that the decoder
    # can optionally emit a warning or reject the message.  We opt
    # not to do so, but to just ignore the character. 
    ```
    
    at the bottom of `base64.tcl`.
    
    My opinion is that the Tcl command should reject any bogus characters only in -strict mode, and in regular mode ignore them like the Tcllib command does.
    
  2. login: "aku"
  3. mimetype: "text/plain"