diff --git a/go.mod b/go.mod index 023660b5..bb01db2a 100644 --- a/go.mod +++ b/go.mod @@ -35,7 +35,7 @@ require ( github.com/hashicorp/go-hclog v1.6.3 github.com/hashicorp/go-plugin v1.6.1 github.com/hashicorp/go-retryablehttp v0.7.6 - github.com/jackc/pgx/v5 v5.5.5 + github.com/jackc/pgx/v5 v5.6.0 github.com/jlaffaye/ftp v0.2.0 github.com/klauspost/compress v1.17.8 github.com/lestrrat-go/jwx/v2 v2.0.21 diff --git a/go.sum b/go.sum index 36ef543d..599516fe 100644 --- a/go.sum +++ b/go.sum @@ -235,8 +235,8 @@ github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsI github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 h1:L0QtFUgDarD7Fpv9jeVMgy/+Ec0mtnmYuImjTz6dtDA= github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= -github.com/jackc/pgx/v5 v5.5.5 h1:amBjrZVmksIdNjxGW/IiIMzxMKZFelXbUoPNb+8sjQw= -github.com/jackc/pgx/v5 v5.5.5/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A= +github.com/jackc/pgx/v5 v5.6.0 h1:SWJzexBzPL5jb0GEsrPMLIsi/3jOo7RHlzTjcAeDrPY= +github.com/jackc/pgx/v5 v5.6.0/go.mod h1:DNZ/vlrUnhWCoFGxHAG8U2ljioxukquj7utPDgtQdTw= github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk= github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= diff --git a/templates/webadmin/status.html b/templates/webadmin/status.html index 3a9ea6c9..86fe3c8f 100644 --- a/templates/webadmin/status.html +++ b/templates/webadmin/status.html @@ -32,11 +32,11 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
- "{{.GetAddress}}" + "{{.GetAddress}}"
{{- if .HasProxy}}- +
{{- end}} {{- end}} @@ -44,34 +44,34 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). {{- range .Status.SSH.HostKeys}}- "{{.Path}}" + "{{.Path}}"
- "{{.Fingerprint}}" + "{{.Fingerprint}}"
- "{{.GetAlgosAsString}}" + "{{.GetAlgosAsString}}"
- "{{.Status.SSH.GetSSHCommandsAsString}}" + "{{.Status.SSH.GetSSHCommandsAsString}}"
- "{{.Status.SSH.GetSupportedAuthsAsString}}" + "{{.Status.SSH.GetSupportedAuthsAsString}}"
- "{{.Status.SSH.GetPublicKeysAlgosAsString}}" + "{{.Status.SSH.GetPublicKeysAlgosAsString}}"
- "{{.Status.SSH.GetMACsAsString}}" + "{{.Status.SSH.GetMACsAsString}}"
- "{{.Status.SSH.GetKEXsAsString}}" + "{{.Status.SSH.GetKEXsAsString}}"
- "{{.Status.SSH.GetCiphersAsString}}" + "{{.Status.SSH.GetCiphersAsString}}"
- "{{.GetAddress}}" + "{{.GetAddress}}"
{{- if .HasProxy}}- +
{{- end}}- +
{{- if .ForcePassiveIP}}- "{{.ForcePassiveIP}}" + "{{.ForcePassiveIP}}"
{{- end}} {{- range .PassiveIPOverrides}}- "{{.IP}} ({{.GetNetworksAsString}})" + "{{.IP}} ({{.GetNetworksAsString}})"
{{- end}} {{- end}}- "{{.Status.FTP.PassivePortRange.Start}}-{{.Status.FTP.PassivePortRange.End}}" + "{{.Status.FTP.PassivePortRange.Start}}-{{.Status.FTP.PassivePortRange.End}}"
- "{{.GetAddress}}" + "{{.GetAddress}}"
- {{if .EnableHTTPS}} HTTPS {{else}} HTTP {{end}} + {{if .EnableHTTPS}} HTTPS {{else}} HTTP {{end}}
{{- end}}- "{{.Status.DataProvider.Driver}}" + "{{.Status.DataProvider.Driver}}"
- "{{.Status.RateLimiters.GetProtocolsAsString}}" + "{{.Status.RateLimiters.GetProtocolsAsString}}"
- "{{.Name}}" + "{{.Name}}"
- "{{.Issuer}}" + "{{.Issuer}}"
- "{{.Algo}}" + "{{.Algo}}"