Commit fdff800
fix(mcp): clarify ASCII-only requirement in server name validation error
Fixes bounty issue #1626
The validate_server_name function uses is_ascii_alphanumeric() but the error
message only mentioned 'letters, numbers' without specifying ASCII-only.
Users trying unicode names like 'test-日本語' received a generic error without
understanding why unicode characters were rejected.
Updated the error message to explicitly state 'ASCII letters a-z/A-Z,
digits 0-9' so users understand the limitation.1 parent b578b52 commit fdff800
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
960 | | - | |
| 960 | + | |
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
| |||
0 commit comments