Base64 wiki attachments
|Reported by:||ryanc||Owned by:||Alec Thomas|
The documentation for putAttachment suggests that the attachment data should be sent base64 encoded:
boolean wiki.putAttachment(string path, base64 data)
HOWEVER - nothing on the Trac side even attempts to unencode the data! I spent days trying to figure out why Trac/Python couldn't decode the base64 encoded file from my PHP app. So it's just expecting raw file data that is declared as type "base64".
Shouldn't the file need to be encoded if sending over http?