mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5030] [Issue]: Marinara Engine fails to open when CSRF_TRUSTED_ORIGINS is set to null #2781
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2781
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Aug 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5030
Originally assigned to: @SpicyMarinara on GitHub.
Summary
After updating to the latest patch and reinstalling the app, Marinara Engine does not recognize the
CSRF_TRUSTED_ORIGINS=nullsetting in the.envfile. The app and browser cannot be opened.Expected behavior
Marinara Engine should recognize the
CSRF_TRUSTED_ORIGINS=nullconfiguration and allow the app and browser to open normally.Actual behavior
Marinara Engine fails to recognize
CSRF_TRUSTED_ORIGINS=null, preventing the app and browser from opening.Steps to reproduce
CSRF_TRUSTED_ORIGINS=nullis not recognized.Environment
Logs, screenshots, or video
Three screenshots were attached: https://cdn.discordapp.com/attachments/1537836590796247060/1537836590989049986/Screenshot_20260814-222408.png, https://cdn.discordapp.com/attachments/1537836590796247060/1537836591253430292/Screenshot_20260814-202329.png, https://cdn.discordapp.com/attachments/1537836590796247060/1537836591496568924/Screenshot_20260814-224750.png
Additional context
The issue was reported after updating to the latest patch. The user attempted troubleshooting with Gemini and reinstalled the app after uninstalling the old version.
Discord thread: Unable to open Marinara Engine App and browser due to CSRF_TRUSTED_ORIGINS=null not being recognized
Discord thread link: https://discord.com/channels/1417099416812392641/1537836590796247060
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (1 message)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 14, 2026):
Fixed on
stagingby #5037 (merge commit9c658d663). Literal case-insensitivenullentries are now treated as unset while real trusted origins remain intact. Covered by the request-host security regression and the full required PR checks.