Hello,
I'm parsing XML data using simple API :
xmlCreatePushParserCtxt(NULL, NULL, buf, size, "file.xml");
xmlParseChunk(ctx, buf, size, 0);
I would like to get some direction of how can i disable external entities
to be processed like:
http://externalhost/ext.xml";>
%external;
%a;
%b;
]>
Tha
Hello guys,
I have a feature where i get an element using xmlGetProp then i change it
and re-set using xmlSetProp.
Using the old libxml2 (2.7.6) i could copy the right http response body to
a local buffer just accessing the output->buffer->content
memcpy(buf, output_buf->buffer->content, output_
Any idea ?
Thanks
Breno
On Wed, Jun 5, 2013 at 3:20 PM, Breno Silva wrote:
> Hello guys,
>
> I have a feature where i get an element using xmlGetProp then i change it
> and re-set using xmlSetProp.
>
> Using the old libxml2 (2.7.6) i could copy the right http response body to
>
l Veillard wrote:
> On Thu, Jun 06, 2013 at 02:51:19PM +1000, Callum Gibson wrote:
> > On 06Jun13 01:38, Breno Silva wrote:
> > }> I changed it to (using libxml2 2.9.0):
> > }>
> > }> memcpy(buf, xmlOutputBufferGetContent(output_buf),
> > }> xmlOutputBuff
>use);
Thanks you
Breno
On Thu, Jun 6, 2013 at 5:39 PM, Callum Gibson
wrote:
> On 06Jun13 09:10, Breno Silva wrote:
> }Hello guys thank you for your attention. Let me share with you the code:
> }
> https://github.com/SpiderLabs/ModSecurity/blob/remotes/trunk/apache2/msc_crypt.c
>