adamvduke / mod_interact

A module to forward certain ejabberd notifications to an arbitrary url
89 stars 30 forks source link

Body should be escaped #1

Closed adamvduke closed 10 years ago

adamvduke commented 10 years ago

If the body of a message contains an ampersand the message gets encoded incorrectly.

https://github.com/adamvduke/mod_interact/blob/master/src/mod_offline_post.erl#L71

adamvduke commented 10 years ago

My erlang foo is lacking, but this commit, e4579616eb98280de880c3207a2d1348aa312978, seems to fix things for our use case.