Slash a few slashes

This commit is contained in:
Michael Klishin 2017-08-29 17:27:39 -06:00
parent 75db52b502
commit 7c93c01549
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ function fmt_shortened_uri(uri) {
function fmt_uri_with_credentials(uri) {
if (typeof uri == 'string') {
// mask password
var mask = /^([a-zA-Z0-9\+\-\.]+):\/\/(.*):(.*)@/;
var mask = /^([a-zA-Z0-9+-.]+):\/\/(.*):(.*)@/;
return uri.replace(mask, "$1://$2:[redacted]@");
} else {
return UNKNOWN_REPR;