lighthouse svn beacon escaping '
using the script at http://lighthouseapp.com/help/setting-up-subversion-integration
If you use ' (apostrophe) in your commit log your curl command will fail and you won't get your nifty updates
the example script include the line:
cmd = "#{CURL} -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d '#{changeset_xml.gsub(/'/, "\'").strip}' #{url}"
The gsub is incorrect:
"he's got's a knife!".gsub(/'/, "\'") => "hes got's a knife!s gots a knife!s a knife!"
Need to do more escaping:
"he's got's a knife!".gsub(/'/, "\\'") => "he\'s got\'s a knife!"
thanks
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac