martin 99/09/23 11:52:01
Modified: src CHANGES
src/modules/standard mod_speling.c
Log:
When generating the Location: header, mod_speling forgot
to escape the spelling-fixed uri. That could lead to [400 Bad request]
errors for the generated URL.
Revision Changes Path
1.1434 +3 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.1433
retrieving revision 1.1434
diff -u -r1.1433 -r1.1434
--- CHANGES 1999/09/20 20:46:47 1.1433
+++ CHANGES 1999/09/23 18:51:41 1.1434
@@ -1,5 +1,8 @@
Changes with Apache 1.3.10
+ *) When generating the Location: header, mod_speling forgot
+ to escape the spelling-fixed uri. [Martin Kraemer]
+
*) Update for the next release of the TPF OS (PUT11)
[David McCreedy <[EMAIL PROTECTED]>]
1.32 +2 -1 apache-1.3/src/modules/standard/mod_speling.c
Index: mod_speling.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_speling.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- mod_speling.c 1999/01/25 18:12:41 1.31
+++ mod_speling.c 1999/09/23 18:51:54 1.32
@@ -414,7 +414,8 @@
NULL);
ap_table_setn(r->headers_out, "Location",
- ap_construct_url(r->pool, nuri, r));
+ ap_escape_uri(r->pool,
+ ap_construct_url(r->pool, nuri, r)));
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO | APLOG_INFO, r,
ref ? "Fixed spelling: %s to %s from %s"