mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#7465
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7086
Author: @SpicyMarinara
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/pygmalion-login-7074📝 Commits (5)
a57711ffix(bot-browser): harden the Pygmalion token login (#7074)1a425afMerge remote-tracking branch 'origin/staging' into fix/pygmalion-login-7074c4d9372fix(bot-browser): keep Pygmalion avatars and logins on safe paths (#7074)4573cc4fix(bot-browser): handle an expired Pygmalion session in Import and Download (#7074)195272bMerge remote-tracking branch 'origin/staging' into fix/pygmalion-login-7074📊 Changes
8 files changed (+526 additions, -143 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
docs/characters/bot-browser.md(+6 -2)➕
e2e/bot-browser-pygmalion-login.e2e.ts(+74 -0)📝
packages/client/src/components/bot-browser/BotBrowserView.tsx(+76 -20)📝
packages/client/src/localization/locales/en.json(+5 -0)📝
packages/server/src/routes/bot-browser-pygmalion.routes.ts(+128 -120)📝
packages/server/src/services/bot-browser/fetch-json.ts(+11 -1)➕
scripts/regressions/bot-browser-pygmalion-login.regression.ts(+224 -0)📄 Description
Linked issue
Closes #7074
Why this change
What changed
Bearerprefix and accepts only token characters. Anything else gets a 400 with a plain message, and nothing is stored or sent.server.pygmalion.chat, over https only, without following redirects, and with response size caps. The unneeded Origin/Referer headers are removed.pygmalion.chatand its subdomains, and redirects must stay on the same host. Relative paths still work.docs/characters/bot-browser.md.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks (not a substitute for the boxes above):
pnpm checkpassed.pnpm localization:checkpassed.node scripts/run-regressions.mjs --filter bot-browser: 2/2 passed. The newbot-browser-pygmalion-loginregression fails on staging's server code and passes with this branch.bot-browser-pygmalion-loginandbot-browser-download: 12/12 passed on desktop-chromium, mobile-chromium and mobile-webkit.Manual verification notes
authntoken (with and withoutBearer) logs in and shows NSFW results.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Changed docs:
CHANGELOG.mdanddocs/characters/bot-browser.md. The translatedcharacters/bot-browser.mdcopies ondocs-i18nstill need updating, or a[docs-i18n] docs/characters/bot-browser.mdfollow-up issue.UI evidence (if applicable)
pygmalion-login-modal.png. Add a before/after screenshot here.Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.