[wp-xmlrpc] base64_decode missing in metaWeblog.newMediaObject
Peter Westwood
peter.westwood at ftwr.co.uk
Tue Dec 30 18:14:54 GMT 2008
Daniel Jalkut wrote:
> Joseph - I suspect what is happening here is that the afflicted users
> are not enclosing their "bits" in a <base64> tag. MarsEdit, and I
> suspect every other client that currently works, puts the data in such
> a tag, which causes your XMLRPC parser to do the base64 decoding
> automatically:
>
> wp-includes/class-IXR.php
>
> See line 241.
>
> So it would be dangerous to take their patch because any clients that
> currently embed the bits explicitly in a <base64> node will have had
> their bits already decoded.
>
Indeed, we've been round this loop before. [1]
IXR does the base64 decoding for us.
If the uploads aren't working from someone then there requests are duff
as Daniel says.
[1] http://trac.wordpress.org/ticket/1008
westi
--
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
More information about the wp-xmlrpc
mailing list