[drupal-devel] [bug] Do not encode apostrophes

walkah drupal-devel at drupal.org
Thu Aug 18 17:03:56 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 (code needs review)

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 ;) )




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.


"





More information about the drupal-devel mailing list