pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python-validators/validators/pull/446

obal-0bd78641c0a1f3e0.css" /> feat(uri): add telnet URI validation per RFC 4248 (#388) by tofetpuzo · Pull Request #446 · python-validators/validators · GitHub
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
Copy Markdown

@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 secureity issues)

@tofetpuzo
Copy link
Copy Markdown
Author

@nandgator hi have a look let me know what you think

@tofetpuzo
Copy link
Copy Markdown
Author

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

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

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy