Skip to content

feat(uri): add telnet URI validation per RFC 4248 (#388) #446

Open
tofetpuzo wants to merge 1 commit intopython-validators:masterfrom
tofetpuzo:feature/telnet-uri-validation
Open

feat(uri): add telnet URI validation per RFC 4248 (#388) #446
tofetpuzo wants to merge 1 commit intopython-validators:masterfrom
tofetpuzo:feature/telnet-uri-validation

Conversation

@tofetpuzo
Copy link

@tofetpuzo tofetpuzo commented Mar 7, 2026

Summary

  • Add _telnet_url() helper function to validate telnet URIs per RFC 4248
  • Route telnet: scheme to dedicated validator instead of generic url()
  • Telnet URI format: telnet://<user>:<password>@<host>:<port>/ ref: telnet
  • Add tests for valid and invalid telnet URIs

Related

Closes #388

Test plan

  • ruff format passes
  • ruff check passes
  • pytest passes (965 tests)
  • bandit passes (no security issues)

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.

1 participant