A Rust library that provides a URL wrapper which automatically redacts sensitive information (credentials, paths, and query parameters) when displaying or debugging URLs.
SensitiveUrl stores both the full URL and a redacted version containing only the scheme, host, and port. In order to get the full URL, you must explicitly call expose_full(). This helps prevent accidental leakage of credentials in logs.
-
Notifications
You must be signed in to change notification settings - Fork 0
sigp/sensitive_url
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published