diff options
author | Wolfgang Müller | 2021-05-13 20:48:17 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-05-13 20:48:17 +0200 |
commit | 83bc98c665a238ecc2ae6a83103ff7f6f28d5567 (patch) | |
tree | 886705be8c2300a6ba4ee04d6d1962e85dca3530 | |
parent | bb4a133ac720179b73572f1c39be6d05187a7f66 (diff) | |
download | skein-0.1.2.tar.gz (sig) |
cgit-about-filter: Do not report the OS name in manual pages0.1.2
By default, mandoc includes the operating system name in its formatted
manual pages for mdoc(7)'s Os and man(7)'s TH macro. This is potentially
sensitive information and should not be leaked out into the world. Clear
out the operating system name fully by using mandoc(1)'s -Ios= option.
-rw-r--r-- | cgit-about-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit-about-filter.c b/cgit-about-filter.c index 02b6043..4897fa7 100644 --- a/cgit-about-filter.c +++ b/cgit-about-filter.c @@ -26,7 +26,7 @@ main(int argc, char *argv[]) return 1; if (strlen(ext) == 1 && isdigit(*ext)) { - EXEC("mandoc", "-Thtml", "-Ofragment"); + EXEC("mandoc", "-Thtml", "-Ofragment", "-Ios="); } else if (strcmp(ext, "md") == 0) { EXEC("lowdown", "-Thtml"); } |