• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

optimizely / agent / 1367
87%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2020 06:42PM UTC
Jobs 1
Files 28
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jul 2020 05:40PM UTC coverage: 85.12%. Remained the same
1367

cron

travis-ci-com

web-flow
feat: Reject requests with invalid host (#241)

Summary:

Introduce a new configuration property server.allowedHosts. When requests are received whose host doesn't match either one of these values, or the separately configured server.host, Agent rejects the request with a 404 response. The default value of server.allowedHosts is ["localhost"].
Includes code from go-chi/hostrouter for determining request host based on X-Forwarded-Host header, Forwarded header, Host header, or host portion of URL.

Test plan:

Manually tested running Agent locally
New unit tests

Issues:

OASIS-6578

1493 of 1754 relevant lines covered (85.12%)

4.75 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1367.2 (GIMME_GO_VERSION=1.13.x GIMME_OS=linux GIMME_ARCH=amd64) 22 Jul 2020 06:42PM UTC 0
85.12
Travis Job 1367.2
Source Files on build 1367
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1367
  • 59b3add2 on github
  • Prev Build on master (#1366)
  • Next Build on master (#1368)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc