Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit 44f2f44

Browse files
authored
#2770: Add validation for httpBypassFqdn as hostname in Traffic Ops (#6330)
1 parent 2c67dba commit 44f2f44

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
55

66
## [unreleased]
77
### Added
8+
- [#2770](https://github.com/apache/trafficcontrol/issues/2770) Added validation for httpBypassFqdn as hostname in Traffic Ops
89
- Added permission based roles for better access control.
910
- [#5674](https://github.com/apache/trafficcontrol/issues/5674) Added new query parameters `cdn` and `maxRevalDurationDays` to the `GET /api/x/jobs` Traffic Ops API to filter by CDN name and within the start_time window defined by the `maxRevalDurationDays` GLOBAL profile parameter, respectively.
1011
- Added a new Traffic Ops cdn.conf option -- `disable_auto_cert_deletion` -- in order to optionally prevent the automatic deletion of certificates for delivery services that no longer exist whenever a CDN snapshot is taken.

traffic_ops/traffic_ops_golang/deliveryservice/deliveryservices.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,6 +1345,7 @@ func Validate(tx *sql.Tx, ds *tc.DeliveryServiceV4) error {
13451345
"dscp": validation.Validate(ds.DSCP, validation.NotNil, validation.Min(0)),
13461346
"geoLimit": validation.Validate(ds.GeoLimit, validation.NotNil),
13471347
"geoProvider": validation.Validate(ds.GeoProvider, validation.NotNil),
1348+
"httpByPassFqdn": validation.Validate(ds.HTTPBypassFQDN, isDNSName),
13481349
"logsEnabled": validation.Validate(ds.LogsEnabled, validation.NotNil),
13491350
"regionalGeoBlocking": validation.Validate(ds.RegionalGeoBlocking, validation.NotNil),
13501351
"remapText": validation.Validate(ds.RemapText, noLineBreaks),

0 commit comments

Comments
 (0)