[drupal-devel] [bug] Do not encode apostrophes
walkah
drupal-devel at drupal.org
Fri Aug 19 02:01:30 UTC 2005
Issue status update for
http://drupal.org/node/29103
Post a follow up:
http://drupal.org/project/comments/add/29103
Project: Drupal
Version: cvs
Component: base system
Category: bug reports
Priority: critical
Assigned to: chx
Reported by: chx
Updated by: walkah
Status: patch (ready to be committed)
cruft? there's no cruft!
no, this just restores the previous behaviour. (changed by the new XML
RPC lib)
walkah
Previous comments:
------------------------------------------------------------------------
Thu, 18 Aug 2005 04:50:50 +0000 : chx
Attachment: http://drupal.org/files/issues/check_plain.patch (567 bytes)
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.
"
------------------------------------------------------------------------
Thu, 18 Aug 2005 17:03:53 +0000 : walkah
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 ;) )
------------------------------------------------------------------------
Thu, 18 Aug 2005 21:35:35 +0000 : Dries
walkah: does that mean you can remove some cruft from the
blogapi.module.
More information about the drupal-devel
mailing list