httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r728220 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c
Date Sat, 20 Dec 2008 01:53:26 GMT
Author: covener
Date: Fri Dec 19 17:53:26 2008
New Revision: 728220

URL: http://svn.apache.org/viewvc?rev=728220&view=rev
Log:
axe r->path_info in a more standard way, suggested by Aleksander Budzynowski 

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=728220&r1=728219&r2=728220&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Fri Dec 19 17:53:26 2008
@@ -3994,7 +3994,7 @@
     r->filename = newuri;
 
     if (ctx->perdir && (p->flags & RULEFLAG_DISCARDPATHINFO)) {
-        r->path_info = "\0"; 
+        r->path_info = NULL; 
     }
 
     splitout_queryargs(r, p->flags & RULEFLAG_QSAPPEND);



Mime
View raw message