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

TykTechnologies / tyk / 9789
39%
master: %

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

pending completion
9789

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

Jobs
ID Job ID Ran Files Coverage
1 9789.1 (TYK_LOGLEVEL=info LATEST_GO=true) 28 Aug 2020 03:22PM UTC 0
60.93
Travis Job 9789.1
Source Files on build 9789
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9789
  • a16a802d on github
  • Prev Build on release-2.9 (#9618)
  • Next Build on release-2.9 (#9790)
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