2 Commits

Author SHA1 Message Date
Catherine
b9165ba288 [breaking-change] Reorder -audit-log columns for readability. 2026-05-14 15:47:44 +02:00
Catherine
f1e773b749 Make PAGES_INSECURE bypass [limit].allowed-repository-url-prefixes.
This is the intended behavior but it was accidentally broken
in commit 2c109a5e1e.
2026-05-14 13:16:25 +00:00
2 changed files with 7 additions and 2 deletions

View File

@@ -838,6 +838,11 @@ func authorizeDNSChallengeOrForgeWithToken(r *http.Request) (*Authorization, err
}
func AuthorizeUpdateFromArchive(r *http.Request) (*Authorization, error) {
auth := authorizeInsecure(r)
if auth != nil {
return auth, nil
}
auth, err := authorizeDNSChallengeOrForgeWithToken(r)
if err != nil {
return nil, err

View File

@@ -509,9 +509,9 @@ func Main(versionInfo string) {
parts := []string{
record.GetAuditID().String(),
color.HiWhiteString(record.GetTimestamp().AsTime().UTC().Format(time.RFC3339)),
color.HiMagentaString(record.DescribePrincipal()),
color.HiGreenString(record.DescribeResource()),
fmt.Sprint(record.GetEvent()),
color.HiGreenString(record.DescribeResource()),
color.HiMagentaString(record.DescribePrincipal()),
}
if record.IsDetached() {
parts = append(parts,