tag:help.lighthouseapp.com,2008-09-20:/discussions/api-developers/3-svn-post-commit-fails-when-log-message-contains-an-apostropheLighthouse: Discussion 2011-04-07T05:34:22Ztag:help.lighthouseapp.com,2008-09-20:Comment/102112007-06-12T04:11:54Z2009-06-20T20:56:49ZSVN post-commit fails when log message contains an apostrophe<div><p>What's the error message? What's the XML look like that's being
sent to Lighthouse?</p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/102112007-06-13T00:22:29Z2009-06-20T20:56:49ZSVN post-commit fails when log message contains an apostrophe<div><p>I'm not getting an error message at all. nothing is ever sent to
the log file either. when i run the script from the command line
though with</p>
<p>puts changeset_xml</p>
<p>in it, I get the following output:</p>
<p><br>
pj committed changeset [52] Testing to see if ' breaks posting to
lighthouse<br></p>
<hr>
<ul>
<li>
<ul>
<li>U<br></li>
</ul>
</li>
<li>trunk/www/app/views/home/splash.rhtml<br>
<br>
52<br>
<changed-at type="datetime">2007-06-12 20:15:30
-0400</changed-at><br></li>
</ul></div>pjkellytag:help.lighthouseapp.com,2008-09-20:Comment/102112007-08-25T05:44:56Z2009-06-20T20:55:58ZSVN post-commit fails when log message contains an apostrophe<div><p>Check out the <a href=
"http://pastie.caboo.se/private/5kebut6tpycv74dgbq">latest</a>
version of the script. It's been rewritten to use Net/HTTP instead
of shelling out to curl (what an idiotic idea). Thanks goes to
James Cox for knocking some sense into me.</p></div>Rick