Back

strip-url-creds (clj)

(source)

function

(strip-url-creds url)
Return `url` with any http credentials stripped, https://user:pass@hello.com -> https://hello.com. Use when logging urls to avoid spilling secrets.

Examples