25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Handle cdata in initial data probe of ws module

This commit is contained in:
Paweł Chmielowski 2019-04-16 10:56:11 +02:00
parent 3706e35b86
commit 83653c0338

View File

@ -359,6 +359,7 @@ parsed_items(List) ->
when element(1, El) == xmlel;
element(1, El) == xmlstreamstart;
element(1, El) == xmlstreamelement;
element(1, El) == xmlstreamcdata;
element(1, El) == xmlstreamend ->
parsed_items([El | List]);
{'$gen_event', {xmlstreamerror, _}} ->