Slash a few slashes
This commit is contained in:
parent
75db52b502
commit
7c93c01549
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue