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

ory / fosite / 1533
71%

Build:
DEFAULT BRANCH: master
Ran 23 May 2020 02:34PM UTC
Jobs 1
Files 97
Run time 8s
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

23 May 2020 02:32PM UTC coverage: 71.543% (+0.03%) from 71.513%
1533

push

travis-ci

web-flow
fix: double-decoding of client credentials in request body (#434)

I noticed that client credentials are URL-decoded after being extracted from the POST body form, which was already URL-decoded by Go. The accompanying error message suggests this was copied and pasted from the HTTP basic authorization header handling, which is the only place where the extra URL-decoding was needed (as per the OAuth 2.0 spec). The result is that client credentials containing %-prefixed sequences, whether valid sequences or not, are going to fail validation.

Remove the extra URL decoding. Add tests that ensure client credentials work with special characters in both the HTTP basic auth header and in the request body.

3849 of 5380 relevant lines covered (71.54%)

71.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1533.1 23 May 2020 02:34PM UTC 0
71.54
Travis Job 1533.1
Source Files on build 1533
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1533
  • 48c9b41e on github
  • Prev Build on master (#1526)
  • Next Build on master (#1534)
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

© 2025 Coveralls, Inc