mirror of
https://github.com/System-End/scraps.git
synced 2026-04-19 22:05:09 +00:00
No description
The regex /session=([^;]+)/ was matching _theseus_session (from HackClub auth) instead of the actual session cookie, since it matched the first occurrence of 'session=' anywhere in the cookie string. Changed to /(?:^|;\s*)session=([^;]+)/ which only matches 'session' at the start of the string or after a semicolon separator. Also returns a 200 HTML page with meta-refresh instead of a 302, to ensure Set-Cookie is reliably stored by the browser before redirecting to the frontend. |
||
|---|---|---|
| backend | ||
| frontend | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| README.md | ||
scraps
nom nom nom
#leeks #scraps #scraypard-v2??? #cool-ysws #youshouldtotallydothiscoolyswsthatstotallynotaboutgamblinghours