Author: joes
Date: Tue Mar 1 13:00:00 2005
New Revision: 155824
URL: http://svn.apache.org/viewcvs?view=rev&rev=155824
Log:
Treat ASCII as the default charset.
Modified:
httpd/apreq/branches/multi-env-unstable/include/apreq.h
httpd/apreq/branches/multi-env-unstable/include/apreq_param.h
Modified: httpd/apreq/branches/multi-env-unstable/include/apreq.h
URL:
http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/include/apreq.h?view=diff&r1=155823&r2=155824
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/include/apreq.h (original)
+++ httpd/apreq/branches/multi-env-unstable/include/apreq.h Tue Mar 1 13:00:00
2005
@@ -58,8 +58,7 @@
#define APREQ_CHARSET_BIT 0
#define APREQ_CHARSET_MASK 255
-#define APREQ_CHARSET_UNKNOWN 0
-#define APREQ_CHARSET_ASCII 1
+#define APREQ_CHARSET_ASCII 0
#define APREQ_CHARSET_UTF8 8
#define APREQ_TAINT_BIT 8
Modified: httpd/apreq/branches/multi-env-unstable/include/apreq_param.h
URL:
http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/include/apreq_param.h?view=diff&r1=155823&r2=155824
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/include/apreq_param.h (original)
+++ httpd/apreq/branches/multi-env-unstable/include/apreq_param.h Tue Mar 1
13:00:00 2005
@@ -77,7 +77,7 @@
/** Turns off the taint flag. */
static APR_INLINE
void apreq_param_utf8_off(apreq_param_t *p) {
- APREQ_FLAGS_SET(p->flags, APREQ_CHARSET, APREQ_CHARSET_UNKNOWN);
+ APREQ_FLAGS_SET(p->flags, APREQ_CHARSET, APREQ_CHARSET_ASCII);
}