commit 571d20fbb3653391fb9baf932c502f8b9ffe7d27 from: Omar Polo date: Sat May 15 10:04:58 2021 UTC fmt commit - 0773413c1d90a356493bc3b6f4ae3760a30ebf29 commit + 571d20fbb3653391fb9baf932c502f8b9ffe7d27 blob - 7bc783bb29a65885f7b95c82d0826c919527bef3 blob + 8216113a331950fde1a4330f407cdf48a0fc47d8 --- server.c +++ server.c @@ -395,9 +395,11 @@ check_for_cgi(struct client *c) end = strchr(path, '\0'); while (end > path) { - /* go up one level. UNIX paths are simple and POSIX - * dirname, with its ambiguities on if the given path - * is changed or not, gives me headaches. */ + /* + * go up one level. UNIX paths are simple and POSIX + * dirname, with its ambiguities on if the given + * pointer is changed or not, gives me headaches. + */ while (*end != '/') end--; *end = '\0';