text with every occurrence of each credential (as credentialsIn returns them)
that is followed by @ replaced by ***. Matching the exact strings, not a
pattern, covers passwords with spaces, quotes, #, ? or / that no URL pattern
can delimit. The percent-encoded form (alice%3Apw%40, as a URL typed as a search
term ends up in a request URL) is replaced too.
textwith every occurrence of each credential (ascredentialsInreturns them) that is followed by@replaced by***. Matching the exact strings, not a pattern, covers passwords with spaces, quotes,#,?or/that no URL pattern can delimit. The percent-encoded form (alice%3Apw%40, as a URL typed as a search term ends up in a request URL) is replaced too.