The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Minor bug fix in IXR

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jon-Carlos Rivera

Posts: 28
Nickname: voxel
Registered: May, 2005

Jon-Carlos Rivera is a freelance developer in Red Bank, New Jersey
Minor bug fix in IXR Posted: Oct 13, 2005 9:51 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Jon-Carlos Rivera.
Original Post: Minor bug fix in IXR
Feed Title: Vox Clandestina
Feed URL: http://www.voxclandestina.com/category/ruby/rss2
Feed Description: News, Patches, and Commentary from the edge of Ruby and Rails development
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Jon-Carlos Rivera
Latest Posts From Vox Clandestina

Advertisement

I've fixed a small but vital bug in the Incutio XML-RPC library. The library was causing errors when certain unicode characters were used in strings. This is because I was using PHP's htmlentities() function to encode strings before transmission. This escapes all of the characters that need escaping (<, >, &, " and ') but also escapes a number of other characters that have an HTML entity equivalent. The problem is that these additional entities are defined in HTML but not in XML, so XML parsers were choking on them when they tried to parse the resulting message. I've fixed the bug now by switching to using htmlspecialchars() instead. Thanks to the several people who reported this one (it took me a while to figure out) and to Marc Logemann who's blog entry finally helped me crack it.

Read: Minor bug fix in IXR

Topic: Irony is not Dead Previous Topic   Next Topic Topic: Takahashi Method Spreads

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use