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

TykTechnologies / tyk / 2748

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2017 02:59PM UTC
Jobs 1
Files 84
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

pending completion
2748

push

travis-ci

buger
revproxy: don't append paths if we switched URLs

Because if we did, we may end up with a duplicate path.

We already partially fixed this with a path string comparison. However,
after some debugging, it was discovered that under some circumstances,
paths may be of the form "path" instead of "/path".

Use a stronger logic, and add tests for all combinations of RetainHost
and unexpected paths.

Reproducing the issue manually, before and after:

        DEBUG Outbound Request: http://192.168.0.148:8888/_count/_count

        DEBUG Outbound Request: http://192.168.0.148:8888/_count

Also move the scheme and host swapping, as they too modify req.URL when
it's already final. Although these were harmless, as they were replacing
instead of appending.

Fixes #962.

5947 of 13572 relevant lines covered (43.82%)

0.47 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2748.2 (LATEST_GO=true) 09 Aug 2017 02:59PM UTC 0
43.82
Travis Job 2748.2
Source Files on build 2748
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2748
  • 3e902151 on github
  • Prev Build on master (#2738)
  • Next Build on master (#2750)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc