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

TykTechnologies / tyk / 5209
60%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 27 Jun 2018 05:21PM UTC
Jobs 2
Files 85
Run time 1min
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
5209

push

travis-ci

buger
Fix panic caused by URL based versioning

`getVersionFromRequest` do not get in account `NotVersioned` flag, and
UI by default writes `a.VersionDefinition.Location` field, so this
check for version inside url was running for all non versioned APIs.

In case of cloud it was causing panics, because nginx layer maps `slug`
to `listenpath` and actual user URL does not contain listen path, and
can be even smaller (which cause panic). Replaced manual array
operation with `strings.TrimPrefix` which checks array bounds, and
added support for stripping slug from URL too (for cloud case).

8489 of 14388 relevant lines covered (59.0%)

1.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5209.1 (LATEST_GO=true) 27 Jun 2018 05:21PM UTC 0
59.0
Travis Job 5209.1
2 5209.2 (LATEST_GO=true) 27 Jun 2018 05:22PM UTC 0
59.67
Travis Job 5209.2
Source Files on build 5209
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5209
  • a2c21a22 on github
  • Prev Build on release-2.7 (#5207)
  • Next Build on release-2.7 (#5220)
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