ref: 5717be30dce9bf44191c07b1c96fa62d9148584b
parent: 193585c1d2818f646347112363f712a43d0b9c2c
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Sep 6 13:29:00 EDT 2020
git/serve: save before send helps...
--- a/serve.c
+++ b/serve.c
@@ -450,7 +450,7 @@
sysfatal("%s: path too long\n", p);
cleanname(path);
if(strncmp(pathpfx, path, strlen(pathpfx)) != 0)
- sysfatal("%s: path escapes prefix");
+ sysfatal("%s: path escapes prefix", p);
if(chdir(path) == -1)
sysfatal("cd %s: %r", p);
if(access(".git", AREAD) == -1)