Skip to content

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

Merged
nandgator merged 1 commit into
python-validators:masterfrom
tofetpuzo:feature/telnet-uri-validation
Oct 10, 2026
Merged

nandgator merged 1 commit into
python-validators:masterfrom
tofetpuzo:feature/telnet-uri-validation

Conversation

@tofetpuzo

@tofetpuzo tofetpuzo commented Mar 7, 2026 •

Copy link
Copy Markdown
Contributor

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)

@tofetpuzo

Copy link
Copy Markdown
Contributor Author

Hi @nandgator have you got time to look at the PR please?

@tofetpuzo

Copy link
Copy Markdown
Contributor Author

@nandgator you seem quick busy, have you had time to look at this?

@nandgator
nandgator merged commit 2e4c1eb into python-validators:master Oct 10, 2026
16 of 17 checks passed
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.

2 participants