davidfowl/JabbR — pull request #592 by WilliamBZA (2012-09-27 10:14:38+00:00)
Title: Reworked TransformAndExtractUrls and fixed tests for it.

It now decodes the message first, then re-encodes the relevant parts if they match. The RegEx for URL parsing was also reworked according to http://daringfireball.net/2010/07/improved_regex_for_matching_urls

Two tests for this method were added and one broken test fixed. The broken test was passing non-encoded data to the method when in reality the method always gets passed encoded messages. This allows the method to decode the message first and then re-encode the relevant parts.

Should resolve issue https://github.com/davidfowl/JabbR/issues/537