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

TykTechnologies / tyk / 9789 / 1
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 28 Aug 2020 03:22PM UTC
Files 86
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

28 Aug 2020 03:12PM UTC coverage: 60.93% (+60.9%) from 0.0%
TYK_LOGLEVEL=info LATEST_GO=true

push

travis-ci

buger
[Fix/TT-225] Not encode and reset RawQuery after JSVM if no change on query params (#3283)

```
url, _ := url.Parse("http://example.com/get?c=1&a=2&b=3&e=4&d=5")
queries := url.Query()
url.RawQuery = queries.Encode()
fmt.Println(url) // http://example.com/get?a=2&b=3&c=1&d=5&e=4
```

As you see in the above example, `Encode()` function sorts by key. The reason why it does this becase `url.Values` is a `map` and setting order is not saved when you iterate. `Encode` function sorts to prevent random results.

The fix is that if there is no change on query params after JSVM, it doesn't make query parsing and encoding and continue with the existing `RawQuery` value.

Fixes https://tyktech.atlassian.net/browse/TT-225

11213 of 18403 relevant lines covered (60.93%)

148.45 hits per line

Source Files on job 9789.1 (TYK_LOGLEVEL=info 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 7246
  • Travis Job 9789.1
  • a16a802d on github
  • Prev Job for TYK_LOGLEVEL=info LATEST_GO=true on release-2.9 (#9618.1)
  • Next Job for TYK_LOGLEVEL=info LATEST_GO=true on release-2.9 (#9790.1)
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