]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl/cli: 'show ssl cert' escape the first '*' of a filename
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 16 Dec 2024 15:09:38 +0000 (16:09 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 16 Dec 2024 15:17:12 +0000 (16:17 +0100)
commit2ba4cf541be0e7a0169c072b7250cb0b8f9de4ba
treea13bef9fda44bc25903ad779f6193c83d4641974
parentfd35b7fb971a785de69a5b864780949a2125a364
BUG/MINOR: ssl/cli: 'show ssl cert' escape the first '*' of a filename

When doing a 'show ssl cert <filename>', prefixing a filename with a '*'
allows to show the uncommited transaction asociated to this filename.

However for people using '*' as the first character of their filename,
there is no way to access this filename.

This patch fixes the problem by allowing to escape the first character
with \.

This should be backported in every stable branches.
doc/management.txt
src/ssl_ckch.c