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

Disable all entity expansions (thanks to Alexey Shchepin)(EJAB-1451)

This commit is contained in:
Badlop 2011-05-24 13:12:13 +02:00
parent 20290cab01
commit bd1df027c6

View File

@ -179,6 +179,8 @@ static ErlDrvData expat_erl_start(ErlDrvPort port, char *buff)
d->parser, (XML_StartNamespaceDeclHandler) erlXML_StartNamespaceDeclHandler);
XML_SetReturnNSTriplet(d->parser, 1);
XML_SetDefaultHandler(d->parser, NULL);
return (ErlDrvData)d;
}