fix: include hash fragment (#key) in sshx URL regex

This commit is contained in:
OpenCode Agent 2026-08-17 22:43:40 +00:00
parent 695490c90c
commit d25b984eac
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ _sshx_pid = None
_sshx_log = "/tmp/sshx_link.log"
_sshx_pid_file = "/tmp/sshx_link.pid"
LINK_RE = re.compile(r"https://sshx\.io/s/[A-Za-z0-9_-]+")
LINK_RE = re.compile(r"https://sshx\.io/s/[A-Za-z0-9_-]+(?:#[A-Za-z0-9_-]+)?")
def _ensure_sshx() -> bool: