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

supabase / gotrue / 5550070955
65%

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2023 03:20AM UTC
Jobs 1
Files 108
Run time 2s
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

14 Jul 2023 03:12AM UTC coverage: 65.843% (-0.004%) from 65.847%
5550070955

push

github

web-flow
fix: log correct referer value (#1178)

## What kind of change does this PR introduce?
* Currently, we always log
[`r.Referer()`](https://cs.opensource.google/go/go/+/refs/tags/go1.20.5:src/net/http/request.go;l=454)
in the gotrue logs. However, this assumes that the referrer is always
sent in the header which is false.
* Move the functions to get the referrer and validate the referrer to
the `utilities` package so it can be used across the `api` and
`observability` packages
* Removed `getRedirectURLOrReferrer` because it's basically a repeat of
`getReferrer`. You would still need to parse the `redirect_to` before
calling `getRedirectURLOrReferrer` and `getReferrer` handles the parsing
+ validation for us already.

57 of 57 new or added lines in 13 files covered. (100.0%)

7169 of 10888 relevant lines covered (65.84%)

50.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5550070955.1 14 Jul 2023 03:20AM UTC 0
65.84
GitHub Action Run
Source Files on build 5550070955
Detailed source file information is not available for this build.
  • Back to Repo
  • a6950a0e on github
  • Prev Build on master (#5533652711)
  • Next Build on master (#5578452539)
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