Skip to content

Fix quick updates and HTTP redirect handling - #65

Merged
darkxex merged 5 commits into
darkxex:mainfrom
ferdy252:main
Nov 8, 2026
Merged

darkxex merged 5 commits into
darkxex:mainfrom
ferdy252:main

Conversation

@ferdy252

@ferdy252 ferdy252 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Quick updates now preserve app-folder permissions and move legacy ProsperoEden personal data into its current data directory, including after an interrupted update. Downloads now handle relative redirects and redirect pages larger than a small requested file.

Changes:

  • Apply the existing 0777 app-directory policy to quick updates.
  • Run Eden migration before recording a completed quick update, resume it during recovery, preserve conflicting data, and ignore empty placeholder folders.
  • Resolve relative redirect targets against the current URL and reapply the existing URL restrictions at every hop.
  • Give discarded redirect bodies a separate 64 KiB limit; retain the final file's original size limit.
  • Add regressions and update three stale foundation hashes for existing upstream adaptations.

Validation:

  • Original production code fails the new regressions; corrected code passes the targeted host suites with AddressSanitizer and UndefinedBehaviorSanitizer.
  • On PS5: permission checks went from four failures to zero; real HTTPS checks went from five failures to 13/13 passing; migration/recovery scenarios went from 16 failures to 35 passing with zero failures. One symbolic-link fixture could not be created on the console; its host check passed.
  • Native development and normal application builds passed integrity and packaging checks. The complete development app ran on PS5 with live signed catalog loading, rendered screenshots, scripted navigation, and clean shutdown. The normal build also started and loaded the live catalog successfully.
  • Repository lint and the foundation-integrity check pass.

The migration checks use isolated synthetic files, not an update of an existing user's Eden data. No app version, runtime dependency, firmware support, or elevation behavior was changed.

@darkxex
darkxex merged commit 44ae9f6 into darkxex:main Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants