mod_mam_mnesia: Also strip CDATA from <x/> element

This commit is contained in:
Holger Weiss 2015-08-19 21:29:27 +02:00
parent 3e683a7621
commit f2652f613f
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ parse_request(Host, Query) ->
parse_form(#xmlel{} = Query) ->
case xml:get_subtag_with_xmlns(Query, <<"x">>, ?NS_XDATA) of
#xmlel{children = Fields} ->
parse_form(Fields);
parse_form(xml:remove_cdata(Fields));
false ->
#mam_filter{}
end;