mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
$decode() halts when it hits a character that isn't part of the base64 set. This contradicts the base64 section of the MIME RFC (section 6.8) which states that they should be ignored. This causes a lot of interoperability issues since another part of the base64 section directs that base64-encoded output should be longer than 76 characters-per-line, meaning most base64 encoded output contains a whole load of CRLFs.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
$remove


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Using $remove() requires the encoded content to be in a text variable, which, if you're decoding a file means switching from simply using bread to using filter -k or $read() and a while loop. That not only causes major slowdown but more importantly still doesn't solve the problem of mIRC not correctly supporting the base64 encoding.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard