mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Disable all entity expansions (thanks to Alexey Shchepin)(EJAB-1451)
This commit is contained in:
parent
20290cab01
commit
bd1df027c6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user