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

Mashape / kong / 2257
85%
master: 57%

Build:
Build:
LAST BUILD BRANCH: plugin/hiren
DEFAULT BRANCH: master
Ran 12 Jan 2016 01:19AM UTC
Jobs 1
Files 80
Run time 2s
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

pending completion
2257

push

travis-ci

thibaultCha
fix(api schema) better check for request_host

The old check would allow a value of `/hello` as a `request_host`.

This change uses a Lua pattern to validate a `request_host` and does so
in the `check_request_host` function, removing the need for the `regex`
field in schema (not used anywhere else). However, the `regex` schema field
capability is not removed by this change.

This also slightly improves the checks made on `request_host` and
`request_path` and adds many test cases for `rquest_host` validation.

Fix #856

2862 of 3365 relevant lines covered (85.05%)

753.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2257.1 12 Jan 2016 01:19AM UTC 0
85.05
Travis Job 2257.1
Source Files on build 2257
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2257
  • 20b141c0 on github
  • Prev Build on fix/request-host-validation (#2251)
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