innoq / statuses

statuses
Apache License 2.0
13 stars 14 forks source link

Links/ href in Statuses not decoded #170

Open aheusingfeld opened 9 years ago

aheusingfeld commented 9 years ago

Links (the href part) in statuses don't seem to be url_decoded correctly. An example can be found in this status: https://intern.innoq.com/statuses/updates/3180 The contained ampersand is not decoded correctly.

mvitz commented 9 years ago

Forgive me but I'm tired at the moment. What you expect is the following I guess:

http://foo.bar/baz?foo=bar&bar=baz should result in <a href="http://foo.bar/baz?foo=bar&bar=baz">http://foo.bar/baz?foo=bar&amp;bar=baz</a>

Is this correct? Hiccups link-to function seems to escape the & as & in the href but not in the text by default...

aheusingfeld commented 9 years ago

:+1:

mvitz commented 9 years ago

Relates to: weavejester/hiccup#111