FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(uri): add telnet URI validation per RFC 4248 (#388) by tofetpuzo · Pull Request #446 · python-validators/validators · GitHub

Repository navigation

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

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

tofetpuzo wants to merge 1 commit into
python-validators:masterfrom
tofetpuzo:feature/telnet-uri-validation

Conversation

tofetpuzo commented Mar 7, 2026 •
edited
Loading

Copy link
Copy Markdown

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)

Copy link
Copy Markdown
Author

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

Copy link
Copy Markdown
Author

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

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL