diff options
author | Colin Watson <cjwatson@debian.org> | 2022-11-05 12:40:53 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2022-11-05 12:40:53 +0000 |
commit | 0d80ec4d5c987acb502a7787240f56e3cec65497 (patch) | |
tree | f833edbe27f9f9691703caf3df1f6060b5420dda /NEWS.md | |
parent | 8f12d39bbb6748a1257358269028ef919f9c92e6 (diff) |
Replace $ in page names rather than trying to escape it
Jakub Wilk points out in Debian bug #1021951 that attempting to use the
`--use-backslash` option has a number of complications. Just replace
dollar signs with question marks instead.
* include/manconfig.h (LESS_OPTS): Revert addition of `--use-backslash`.
* src/man.c: Replace `$` characters with `?` rather than trying to
escape them.
* NEWS.md: Document this.
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,8 +3,8 @@ man-db 2.11.1 Fixes: - * SECURITY: Escape `$` characters in page names when constructing `less` - prompts. Note that this requires `less` >= 457 (released in 2012). + * SECURITY: Replace `$` characters in page names with `?` when constructing + `less` prompts. * Silence error message when processing an empty manual page hierarchy with a nonexistent cache directory. * `man(1)` now sorts whatis references below real pages, even if the whatis |