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

TykTechnologies / tyk / 5205 / 1
59%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 27 Jun 2018 03:42PM UTC
Files 102
Run time 7s
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

27 Jun 2018 03:36PM UTC coverage: 59.271% (-0.6%) from 59.88%
LATEST_GO=true

Pull #1797

travis-ci

web-flow
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).
Pull Request #1797: Fix panic caused by URL based versioning

9206 of 15532 relevant lines covered (59.27%)

0.66 hits per line

Source Files on job 5205.1 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4746
  • Travis Job 5205.1
  • 547f0a4f on github
  • Prev Job for LATEST_GO=true on fix-url-versioning-bug (#5201.2)
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