bugEmacs Weblogging - Bugs: bug #25314, double escaping of string...

 
 

bug #25314: double escaping of string parameter with xml.el of emacs 23

Submitted by:  Shun-ichi Goto <gotoh>
Submitted on:  Wed 14 Jan 2009 08:22:34 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 14 Jan 2009 08:22:34 AM UTC, original submission:

The xml-print<f> in xml.el code distributed with emacs 23 is
changed to escape string content. That change is made at
2007-12-18.
But xml-rpc.el does escape in xml-rpc-value-to-xml-list<f>
using url-insert-entities-in-string<f>.
So remote side will get string argument as double-escaped
string.

I suggest xml-rpc.el to check the behaviour of xml.el
then decide to use of url-insert-entities-in-string<f>.
Or define own version of xml-print<f> which does not
escape (like ealier version of xml.el).

Shun-ichi Goto <gotoh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #17263:  xml-rpc-fix-double-escaping.diff added by gotoh (1KiB - application/octet-stream - Patch to support both old and new xml.el (against rev 1.11))

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hexmode (Updated the item)
  • -email is unavailable- added by gotoh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-08-02 hexmode Open/ClosedOpen => Closed
    2009-01-15 gotoh Attached File- => Added xml-rpc-fix-double-escaping.diff, #17263

    Back to the top


    Powered by Savane 3.3