Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
18 Aug 2005 at 04:50 UTC
Updated:
28 Aug 2005 at 16:20 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| check_plain.patch | 567 bytes | chx |
Comments
Comment #1
walkah commentedbig +1 . the issue is , with ENT_QUOTES .. blogapi users get their apostrophes returned encoded, which is confusing, and frustrating (and then they email me ;) )
Comment #2
chx commentedComment #3
dries commentedwalkah: does that mean you can remove some cruft from the blogapi.module.
Comment #4
walkah commentedcruft? there's no cruft!
no, this just restores the previous behaviour. (changed by the new XML RPC lib)
Comment #5
dries commentedCommitted to HEAD. Thanks.
Does this need to be backported (given we backported the xml-rpc library)? I'd think so.
Comment #6
dries commentedUnrolled the HEAD patch. Not encoding these is less secure. The problem lies with the XML-RPC clients ...