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

supabase / supabase-flutter / 43390490448
94%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 08:06AM UTC
Jobs 12
Files 196
Run time 1min
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

13 Nov 2026 08:05AM UTC coverage: 94.47% (+0.01%) from 94.458%
43390490448

push

github

web-flow
fix!: keep caller values inside their URL path segment (#2164)

## What is the current behavior?

Several clients put a caller value straight into a request path.
`Uri.parse` removes dot segments, so a value with `../` sends the
request, with the user's JWT and `apikey`, to another endpoint. For
example, a consent page that passes `authorization_id` from its URL to
`approveAuthorization` turns `../../logout?scope=global&x=` into `POST
/auth/v1/logout?scope=global&x=/consent`, which signs the user out
everywhere. `from()`, `rpc()` and `functions.invoke()` have the same
problem.

## What is the new behavior?

`encodePathSegment` moves from `supabase_storage` to `supabase_common`.
It percent-encodes every character except letters, digits, `-_.!~*'()`
and `:`, and throws an `ArgumentError` naming the argument for an empty
value, `.` and `..`.

- It encodes `;`, `+` and the other characters a path segment could hold
raw. Java servlet containers read a raw `;` as a path parameter, and an
Iceberg catalog decodes a `+` as a space. This matches the
`Uri.encodeComponent` the iceberg client used before.
- It keeps `:`, because the auth server matches the path before decoding
it, so `custom%3Aacme` would not find the `custom:acme` provider. The
custom provider integration tests caught this.

It is used for:

| Package | Values |
| ------------------ |
---------------------------------------------------------------------------------
|
| `supabase_auth` | MFA factor id, passkey id, identity id, admin custom
provider and SSO provider id |
| `postgrest` | Table name in `from()`, function name in `rpc()`, also
for the typed builders |
| `supabase` | Table name in `SupabaseClient.from()` and
`schema().from()` |
| `iceberg` | Namespace, table name, and the warehouse when the server
returns no prefix |
| `supabase_storage` | Bucket id, as before |

The OAuth server API also checks the shape of `authorizationId`. It
throws an `ArgumentError` before any request when the id... (continued)

76 of 76 new or added lines in 14 files covered. (100.0%)

13222 of 13996 relevant lines covered (94.47%)

6.99 hits per line

Jobs
ID Job ID Ran Files Coverage
2 supabase_test - 43390490448.2 13 Nov 2026 08:06AM UTC 9
93.83
GitHub Action Run
3 supabase_functions - 43390490448.3 13 Nov 2026 08:06AM UTC 4
94.44
GitHub Action Run
4 supabase - 43390490448.4 13 Nov 2026 08:08AM UTC 22
94.62
GitHub Action Run
5 supabase_auth - 43390490448.5 13 Nov 2026 08:08AM UTC 33
94.44
GitHub Action Run
6 postgrest - 43390490448.6 13 Nov 2026 08:08AM UTC 30
93.16
GitHub Action Run
7 supabase_storage - 43390490448.7 13 Nov 2026 08:08AM UTC 13
95.89
GitHub Action Run
8 supabase_flutter - 43390490448.8 13 Nov 2026 08:07AM UTC 16
89.16
GitHub Action Run
9 supabase_realtime - 43390490448.9 13 Nov 2026 08:08AM UTC 15
92.91
GitHub Action Run
10 supabase_common - 43390490448.10 13 Nov 2026 08:07AM UTC 38
94.41
GitHub Action Run
11 iceberg - 43390490448.11 13 Nov 2026 08:06AM UTC 7
99.72
GitHub Action Run
12 supabase_typegen - 43390490448.12 13 Nov 2026 08:08AM UTC 7
95.53
GitHub Action Run
10 yet_another_json_isolate - 43222394842.10 12 Nov 2026 12:57PM UTC 2
98.65
GitHub Action Run
Source Files on build 43390490448
  • Tree
  • List 196
  • Changed 14
  • Source Changed 14
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43390490448
  • cfe0939f on github
  • Prev Build on main (#43238318786)
  • Next Build on main (#43396295816)
  • Delete
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