[drupal-devel] [bug] Do not encode apostrophes
Dries
drupal-devel at drupal.org
Thu Aug 18 21:35:45 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: Dries
Status: patch (ready to be committed)
walkah: does that mean you can remove some cruft from the
blogapi.module.
Dries
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 ;) )
More information about the drupal-devel
mailing list