Spark unable to open urls pasted with ichat

Hi,

It seems that with the release of Leopard, the way iChat sends urls in private conversation and conflicts with the way Spark parses them. In iChat one can drag-drop a web page url and what the person PASTING sees in ichat is the description (title) of the web page underlined. What comes out at the other end is something like the following: text + square bracket + URL + square bracket for example:

Google + square bracket open + http://www.google.com/ + square bracket close

In Spark, nothing happens when clicking on that. This is with both 2.5.7 and 2.5.8 beta 1. I couldn’t figure out how to escape the brackets so I wrote them out in this example.

Okay, what happens is that Spark sends the whole url sent by iChat 4, including the square brackets to the browser, example:

[http://www.google.com/]

Attached is a trivial patch fixing that against SVN. I couldn’t figure out how to attach a diff nor does it seem possible to report bugs to JIRA.

Also there doesn’t seem to be a documented way of pasting text so it does not go through expansion. I attempted to copy-paste the diff here but your Wiki always expands certain characters even inside code … code blocks and noformat … noformat blocks don’t even do line feeds. Sigh.

The patch is available at http://www.a51.org/ichat-url-fix.diff

HTH

Kaj

Message was edited by: kajtzu