Project:Drupal core
Version:x.y.z
Component:base system
Category:bug report
Priority:critical
Assigned:chx
Status:closed (won't fix)

Issue Summary

walkah complained that XML-RPC escapes apostrophes. Steven said it's OK not to do so, so here is the patch. I am quoting the manual:

It takes on one of three constants with the default being ENT_COMPAT:

ENT_COMPAT Will convert double-quotes and leave single-quotes alone.
ENT_QUOTES Will convert both double and single quotes.
ENT_NOQUOTES Will leave both double and single quotes unconverted.

AttachmentSizeStatusTest resultOperations
check_plain.patch567 bytesIgnored: Check issue status.NoneNone

Comments

#1

big +1 . the issue is , with ENT_QUOTES .. blogapi users get their apostrophes returned encoded, which is confusing, and frustrating (and then they email me ;) )

#2

Status:needs review» reviewed & tested by the community

#3

walkah: does that mean you can remove some cruft from the blogapi.module.

#4

cruft? there's no cruft!

no, this just restores the previous behaviour. (changed by the new XML RPC lib)

#5

Status:reviewed & tested by the community» active

Committed to HEAD. Thanks.

Does this need to be backported (given we backported the xml-rpc library)? I'd think so.

#6

Status:active» closed (won't fix)

Unrolled the HEAD patch. Not encoding these is less secure. The problem lies with the XML-RPC clients ...

nobody click here