#12046 closed defect (bug) (fixed)
Make the length field for enclosures an INT in metaWeblog.getPost results
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | XML-RPC | Keywords: | has-patch |
Focuses: | Cc: |
Description
Because we trim() the enclosure data being sent back from a metaWeblog.getPost request the length field ends up being a STRING, when it's supposed to be an INT. It's easy enough to fix, simply cast the length field to an INT.
I've included a trivial patch to do just that.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [12870]) Cast length to int. Props josephscott. fixes #12046