summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2022-11-05 12:40:53 +0000
committerColin Watson <cjwatson@debian.org>2022-11-05 12:40:53 +0000
commit0d80ec4d5c987acb502a7787240f56e3cec65497 (patch)
treef833edbe27f9f9691703caf3df1f6060b5420dda /NEWS.md
parent8f12d39bbb6748a1257358269028ef919f9c92e6 (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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/NEWS.md b/NEWS.md
index 0b1e11a1..e64a265c 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -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