Repository navigation
Conversation
Tighten the link-rewriting regexes in command.html and docs.html so a match can't run from one link into the next on the same line. .*? becomes [^)]*? and .md/.png/.gif are escaped. This fixes the broken FT.SEARCH topic links reported in valkey-io/valkey-doc#570, and stops the same thing on any future page, just futureproofing. Signed-off-by: Dragos Andriciuc <andriciucdragos@protonmail.com>
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Medium Merge Risk:
|
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge.
|
Description
Tighten the link-rewriting regexes in command.html and docs.html so a match can't run from one link into the next on the same line. .? becomes [^)]? and .md/.png/.gif are escaped.
This fixes the broken FT.SEARCH topic links, and stops the same thing on any future page, just futureproofing.
Issues Resolved
Fixes valkey-io/valkey-doc#570.
Check List
--signoffBy submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.