Skip to content

fix(validators): allow nested GitLab repository paths#1369

Open
go165 wants to merge 1 commit into
modelcontextprotocol:mainfrom
go165:go165/allow-nested-gitlab-repos
Open

fix(validators): allow nested GitLab repository paths#1369
go165 wants to merge 1 commit into
modelcontextprotocol:mainfrom
go165:go165/allow-nested-gitlab-repos

Conversation

@go165

@go165 go165 commented Jun 15, 2026

Copy link
Copy Markdown

Summary

  • Allow GitLab repository URLs with nested groups/subgroups in repository validation
  • Keep GitHub validation limited to owner/repo paths
  • Add direct URL validation coverage and a full server.json semantic validation regression case

Fixes #1359.

Validation

  • git diff --check
  • Equivalent regex smoke test with local Go 1.22.2 outside this module
  • go test ./internal/validators could not run in this environment because this module requires Go >= 1.26 and automatic toolchain download failed with go: download go1.26 for linux/amd64: toolchain not available; GOTOOLCHAIN=local go test ./internal/validators also fails because local Go is 1.22.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitLab repository URLs with nested groups/subgroups are rejected by validator

1 participant