Discuss Scratch

Loev06
Scratcher
53 posts

Going to certain Scratch-links signs you out

When I go to this link: https://scratch.mit.edu/community_guidelines/) (notice the closing bracket “)” ), I get automatically signed out. This has happened with other links ending with “)”, but some keep me signed in. Do other Scratchers have the same issue?

Edit: I'm also not able to sign back in on the page that signed me out.

My browser / operating system: Windows NT 10.0, Chrome 91.0.4472.114, No Flash versions detected

Last edited by Loev06 (June 29, 2021 15:43:38)

Chiroyce
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

Yeah this is a known bug, it sends back a malformed cookie that logs you out, also happens with https://scratch.mit.edu/abouta

Loev06 wrote:

Edit: I'm also not able to sign back in on the page that signed me out.
That's obvious, after you log in you're redirected to the same page, and again, that page logs you out, it's sort of recursive, just sign-in from this and it should work.

Last edited by Chiroyce (June 29, 2021 15:52:12)

ScolderCreations
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

I'm not sure if this bug is fixable. Just try avoiding it
-Kryptonite-
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

ScolderCreations wrote:

I'm not sure if this bug is fixable. Just try avoiding it

Yeah probably isn't as the bug is this:

Chiroyce wrote:

sends back a malformed cookie
Thingied
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

Chiroyce wrote:

Yeah this is a known bug, it sends back a malformed cookie that logs you out, also happens with https://scratch.mit.edu/abouta
If you put anything after the about the link will sign you out.
https://scratch.mit.edu/abouthi does the same thing
-Kryptonite-
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

Thingied wrote:

Chiroyce wrote:

Yeah this is a known bug, it sends back a malformed cookie that logs you out, also happens with https://scratch.mit.edu/abouta
If you put anything after the about the link will sign you out.
https://scratch.mit.edu/abouthi does the same thing

I believe it's also because the Scratch link does not exist.
hiPeeps124816
Scratcher
500+ posts

Going to certain Scratch-links signs you out

-Kryptonite- wrote:

Thingied wrote:

Chiroyce wrote:

Yeah this is a known bug, it sends back a malformed cookie that logs you out, also happens with https://scratch.mit.edu/abouta
If you put anything after the about the link will sign you out.
https://scratch.mit.edu/abouthi does the same thing

I believe it's also because the Scratch link does not exist.
a simple 404 error isnt the reason you get logged out
dhuls
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

-Kryptonite- wrote:

Thingied wrote:

Chiroyce wrote:

Yeah this is a known bug, it sends back a malformed cookie that logs you out, also happens with https://scratch.mit.edu/abouta
If you put anything after the about the link will sign you out.
https://scratch.mit.edu/abouthi does the same thing

I believe it's also because the Scratch link does not exist.
https://scratch.mit.edu/dfgvtyhjkeraijkerafkljfdvkfdgjfgjkrfsyhfduhjkfersgvyhbwrasdfl

A page not existing will not sign you out. Certain things send a malformed cookie which causes Scratch to sign you out.
-Kryptonite-
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

dhuls wrote:

-Kryptonite- wrote:

Thingied wrote:

Chiroyce wrote:

Yeah this is a known bug, it sends back a malformed cookie that logs you out, also happens with https://scratch.mit.edu/abouta
If you put anything after the about the link will sign you out.
https://scratch.mit.edu/abouthi does the same thing

I believe it's also because the Scratch link does not exist.
https://scratch.mit.edu/dfgvtyhjkeraijkerafkljfdvkfdgjfgjkrfsyhfduhjkfersgvyhbwrasdfl

A page not existing will not sign you out. Certain things send a malformed cookie which causes Scratch to sign you out.

Oh! Noted, thanks. Found something on Google, some cookies containing JSON are malformed.
hiPeeps124816
Scratcher
500+ posts

Going to certain Scratch-links signs you out

-Kryptonite- wrote:

ScolderCreations wrote:

I'm not sure if this bug is fixable. Just try avoiding it

Yeah probably isn't as the bug is this:

Chiroyce wrote:

sends back a malformed cookie
is there a way to fix malformed cookies
ScolderCreations
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

Fixing malformed cookies seems like an incredibly hard task. Just try not to use those links.
Chiroyce
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

hiPeeps124816 wrote:

is there a way to fix malformed cookies
The server sends them to you and replaces it, then the server is like
Wait I don't recognize this cookie, so they're probably not <USERNAME>, so you're gonna be signed out!
You can't fix it without replacing the malformed cookie into the current version, so a userscript that saves the current cookie and stuff can be done but it's too complex for the average scratcher.
cloverCat156
Scratcher
100+ posts

Going to certain Scratch-links signs you out

It is really creepy…it makes me feel like someone is overlooking me.

I hope the ST will find a way to fix this.
Chiroyce
Scratcher
1000+ posts

Going to certain Scratch-links signs you out

Ivy_Zhangyanchu wrote:

It is really creepy…it makes me feel like someone is overlooking me.
Someone is! The server is overlooking you, no one else

Ivy_Zhangyanchu wrote:

I hope the ST will find a way to fix this.
Should be easy, since this is caused by malformed cookie.
kahoot_player21
Scratcher
500+ posts

Going to certain Scratch-links signs you out

This happens with any website ending with scratch.mit.edu/about and then something else.

Powered by DjangoBB