Skip to content

fix: reject trailing newline in tool-name validation#3076

Merged
maxisbey merged 2 commits into
modelcontextprotocol:mainfrom
Otis0408:fix/tool-name-regex-trailing-newline
Jul 10, 2026
Merged

fix: reject trailing newline in tool-name validation#3076
maxisbey merged 2 commits into
modelcontextprotocol:mainfrom
Otis0408:fix/tool-name-regex-trailing-newline

fix: validate whole strings with re.fullmatch

23102e3
Select commit
Loading
Failed to load commit list.
Sign in for the full log view