]> granicus.if.org Git - apache/commitdiff
Add a canonical_filename value (should remain the r->filename identity)
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Aug 2001 21:03:44 +0000 (21:03 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Aug 2001 21:03:44 +0000 (21:03 +0000)
  so we can tell if a 3rd party module broke the canonical form of the
  filename by not calling apr_filepath_merge().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90585 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index 7f264f67d98b7be347a0e003345027bdf0f133fa..5808f166b8b6e88bf41fc0e2fc4f055b8811d298 100644 (file)
@@ -786,6 +786,8 @@ struct request_rec {
     char *uri;
     /** The filename on disk that this response corresponds to */
     char *filename;
+    /** The true filename, we canonicalize if it differs from r->filename */
+    char *canonical_filename;
     /** The path_info for this request if there is any. */
     char *path_info;
     /** QUERY_ARGS, if any */