]> git.99rst.org Git - git.git/commit
daemon: sanitize all directory separators
authorRené Scharfe <redacted>
Thu, 25 Mar 2021 16:21:24 +0000 (17:21 +0100)
committerJunio C Hamano <redacted>
Sat, 27 Mar 2021 05:00:12 +0000 (22:00 -0700)
commit9a7f1ce8b78dae09cf4510a98bd6b81d0d478772
treec2ec80cb1429ee8624fe4847e77c0d0a80517e1f
parenta5828ae6b52137b913b978e16cd2334482eb4c1f
daemon: sanitize all directory separators

When sanitizing client-supplied strings on Windows, also strip off
backslashes, not just slashes.

Signed-off-by: René Scharfe <redacted>
Acked-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
daemon.c
git clone https://git.99rst.org/PROJECT