[ejabberd] redundant code in ejabberd_http.erl?

Badlop badlop at gmail.com
Sun May 4 22:04:03 MSD 2008


2008/5/1, mark peleus <mark.peleus at gmail.com>:
> ejabberd_http.erl defines:
>
> element_to_string
> attrs_to_list
> attr_to_list
> crypt
>
> all of these are already defined on xml.erl.
>
> Is there a reason for the duplication?

Yes. Alexey Shchepin explained me that crypt(S) is slightly different
because some browsers have problems with &apos;

So in ejabberd_http.erl it has  &#39; instead.


More information about the ejabberd mailing list