Commit c43b6cf
Fix NSURLErrorFrameLoadInterrupted reload loop and patch Vite arbitrary file read vulnerability (#5726)
## iOS: Ignore error code 102 in `didFailProvisionalNavigation`
Error `NSURLErrorFrameLoadInterrupted` (code 102) is fired when a
navigation is cancelled mid-flight — common during fast client-side
routing (e.g. Vue Router `router.push`) and OAuth redirect flows. The
existing handler was triggering a full root-page reload on this benign
error, breaking auth flows.
Added an early return alongside the existing `-999` guard:
```swift
if (error as NSError)._code == (-999) { return }
if (error as NSError)._code == 102 { return } // NSURLErrorFrameLoadInterrupted
```
## Dependency: Vite 6.4.1 → 6.4.2
Patches [GHSA advisory] **Arbitrary File Read via Vite Dev Server
WebSocket** affecting all `6.x` releases up to and including `6.4.1`.
Updated `package.json` and regenerated `package-lock.json` in
`apps/pwabuilder/Frontend`.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JudahGabriel <312936+JudahGabriel@users.noreply.github.com>
Co-authored-by: Judah Gabriel Himango <judahgabriel@gmail.com>1 parent 672d013 commit c43b6cf
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| |||
0 commit comments