Re: [Libevent-users] BUG report about evhttp_htmlescape() in evhttp(libevent-1.3b)

2007-05-10 Thread liusifan
Hi, Please look at the comment of the function: /* * Replaces , , , ' and with lt;, gt;, quot;, * #039; and amp; correspondingly. * * The returned string needs to be freed by the caller. */ char * evhttp_htmlescape(const char *html) liusifan

[Libevent-users] BUG report about evhttp_htmlescape() in evhttp (libevent-1.3b)

2007-05-09 Thread chengzhong
Hi All, If my inport is: char *html = amp;; when i do evhttp_htmlescape(html); I will get amp;amp; I'm not sure it is a bug or not , but it really bother me... ___ Libevent-users mailing list Libevent-users@monkey.org

Re: [Libevent-users] BUG report about evhttp_htmlescape() in evhttp (libevent-1.3b)

2007-05-09 Thread Niels Provos
That's exactly what it's supposed to do. Niels. On 5/9/07, chengzhong [EMAIL PROTECTED] wrote: Hi All, If my inport is: char *html = amp;; when i do evhttp_htmlescape(html); I will get amp;amp; I'm not sure it is a bug or not , but it really bother me...