You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2020/06/29 09:33:12 UTC
svn commit: r1879322 - /httpd/httpd/trunk/modules/dav/fs/repos.c
Author: minfrin
Date: Mon Jun 29 09:33:12 2020
New Revision: 1879322
URL: http://svn.apache.org/viewvc?rev=1879322&view=rev
Log:
Be defensive when the request is missing.
Modified:
httpd/httpd/trunk/modules/dav/fs/repos.c
Modified: httpd/httpd/trunk/modules/dav/fs/repos.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/fs/repos.c?rev=1879322&r1=1879321&r2=1879322&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/fs/repos.c (original)
+++ httpd/httpd/trunk/modules/dav/fs/repos.c Mon Jun 29 09:33:12 2020
@@ -1861,7 +1861,7 @@ static const char *dav_fs_getetag(const
dav_resource_private *ctx = resource->info;
- if (!resource->exists) {
+ if (!resource->exists || !ctx->r) {
return "";
}