Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#962 closed Bug (fixed)

base64 decoding issue

Reported by: dm1024 Owned by: charles
Priority: Normal Milestone: 1.30
Component: libtransmission Version: 1.22+
Severity: Major Keywords:


Doing base64_encode(...) in php produces one long string. And it is not supported by default with openssl decoding function. And that's why there could be used php's chunk_split() function: Can be used to split a string into smaller chunks which is useful for e.g. converting base64_encode() output to match RFC 2045 semantics. It inserts end every chunklen characters.

For example:


But openssl API has optional support for such case - long base64 strings could be proceeded after setting special flag:


But in this case "proper" (matching RF 2045) strings are failing.

Change History (3)

comment:1 Changed 14 years ago by charles

  • Milestone changed from None Set to 1.30
  • Severity changed from Normal to Major
  • Status changed from new to assigned

fixed in r5899

comment:2 Changed 14 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:3 Changed 14 years ago by charles

  • Version set to 1.22+
Note: See TracTickets for help on using tickets.