Re: unsubscribe

2013-06-03 Thread Reindl Harald

Am 03.06.2013 08:54, schrieb ruan:

unbelieveable - there where *two* of this
useless unsubscribe-threads within a few
days - what about read the welcome messages
and/or list-headers?

list-help: mailto:dev-h...@httpd.apache.org
list-unsubscribe: mailto:dev-unsubscr...@httpd.apache.org
List-Post: mailto:dev@httpd.apache.org
List-Id: dev.httpd.apache.org



signature.asc
Description: OpenPGP digital signature


Re: Bug with mod_xml2enc and docx files

2013-06-03 Thread Thomas Eckert
I attached what I have in mind on how to solve this. It's basically what
you suggested.

There's one thing I didn't know how to address and that is mod_proxy_html's
ProxyHTMLExtended directive. It does suggest not to be turned on by default
(
http://httpd.apache.org/docs/current/mod/mod_proxy_html.html#proxyhtmlextended)
so I wouldn't put it into mod_xml2enc config creation. But then
mod_proxy_html would have to cause mod_xml2enc to include CSS/JS as content
type or we risk the two modules behaving inconsistently for non UTF-8
encoded documents.

Personally, I wouldn't want to rely on the user to remember configuring
ProxyHTMLExtended should always be paired with xml2AcceptContentType
text/css and xml2AcceptContentType application/javascript. That's bound to
cause problems.

I don't know about the caveats of one module telling another module how to
configure itself.

Cheers,
  Thomas

On Wed, May 29, 2013 at 8:20 PM, Nick Kew n...@webthing.com wrote:


 On 29 May 2013, at 14:28, Thomas Eckert wrote:

  I saw the following
 
  /* only act if starts-with text/ or contains xml */
  if (strncmp(ctype, text/, 5)  !strstr(ctype, xml))  {
  ap_remove_output_filter(f);
  return ap_pass_brigade(f-next, bb) ;
  }

 You're right, that's a bug.

 I don't think your patch really works either: any hardwired rules are
 going to be susceptible to similar issues.  I guess what it needs is to
 be user-configurable, perhaps with HTML and XHTML as defaults.

 --
 Nick Kew



mod_xml2enc_ctype.patch
Description: Binary data


Re: Time for 2.4.5 ??

2013-06-03 Thread Michael Felt

 I have meanwhile all the compiler warnings reduced down to one:
 .\lua_request.c(574) : warning C4244: 'return' : conversion from
 'apr_off_t' to 'int', possible loss of data

 Nice work! :)


Re: Time for 2.4.5 ??

2013-06-03 Thread Shahid khan
On Jun 3, 2013 11:11 PM, Michael Felt mamf...@gmail.com wrote:

 I have meanwhile all the compiler warnings reduced down to one:
 .\lua_request.c(574) : warning C4244: 'return' : conversion from
'apr_off_t' to 'int', possible loss of data

 Nice work! :)




Re: Bug with mod_xml2enc and docx files

2013-06-03 Thread Nick Kew

On 3 Jun 2013, at 14:31, Thomas Eckert wrote:

 mod_xml2enc_ctype.patch

Thanks.

Looks a lot like the patch I hacked up but have yet to test or commit :)

-- 
Nick Kew