pkgsrc-wip/ap2-encoding/patches/patch-aa
OBATA Akio 615693f486 This module improves non-ascii filename interoperability of
apache (and mod_dav).

It seems many WebDAV clients send filename in its platform-local
encoding. But since mod_dav expects everything, even HTTP request
line, to be in UTF-8, this causes an interoperability problem.

I believe this is a future issue for specification (RFC?) to
standardize encoding used in HTTP request-line and HTTP header,
but life would be much easier if mod_dav (and others) can handle
various encodings sent by clients, TODAY. This module does just that.
2006-01-01 14:29:28 +00:00

14 lines
366 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2006/01/01 14:29:28 obache Exp $
--- mod_encoding.c.orig 2006-01-01 21:39:29.000000000 +0900
+++ mod_encoding.c
@@ -76,7 +76,8 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
#include <http_request.h>
/* #include <ap_compat.h> */
-#include <iconv_hook/iconv.h>
+#include <apr_strings.h>
+#include <iconv.h>
/**
* Core part of the module.