commit 00166cee7f1dc5ac73874b40670df0aa925aa003 from: smytht via: GitHub date: Thu Apr 25 12:42:22 2024 UTC use restricted less for pager for manual Spotted and reported by sonic ... fixed by stspdotname (thanks ) "LESSSECURE=1" environment variable used to disable shell through less pager commit - dd8d34bfed2b33ee645455192b05112a431b656b commit + 00166cee7f1dc5ac73874b40670df0aa925aa003 blob - 7204cdd776c24d46383df73c5c9e70d9df04d819 blob + 91052140f45e6788eee780c027ce39cee18ffc71 --- commands.c +++ commands.c @@ -2050,6 +2050,7 @@ manual(int argc, char **argv) */ const char *env[] = { "PAGER=less", + "LESSSECURE=1", lessenv, termenv, NULL