Discuss Scratch

MAZ3MAK3R
Scratcher
15 posts

URL Parameters do not work

Here's the link:
scratch.mit.edu/accounts/login/?next=/mystuff/
This page appears if you open scratch.mit.edu/mystuff/ while not logged in. The link has the parameter “?next=” in it. This parameter is supposed to bring you to the page (after logging in) that is written after the parameter (“/mystuff/”) which in this case, is the “My Stuff” page. But here's the bug: It doesn't! Instead, the parameter is ignored, and the page that is opened is the Scratch home page. I never saw this bug fixed, but the URL parameter was always there and I was wondering what it was for.

My request would be that the parameter would be fixed and that it would work for other links. Here are some examples:

This URL here would ask for a login (or skip if already logged in), then send you to @ScratchCat's profile:

scratch.mit.edu/accounts/login/?next=/users/ScratchCat/
This URL here would ask for a login (or skip if already logged in), then send you to the “Scratch 3.0 is here!” project:

scratch.mit.edu/accounts/login/?next=/projects/276660763/

This would be useful for cloud-based games, to make the user log in if they are not logged in.
This URL here would ask for a login (or skip if already logged in), then send you to My Stuff

scratch.mit.edu/accounts/login/?next=/mystuff/

This one would be useful for browser bookmarks.

Last edited by MAZ3MAK3R (Sept. 24, 2020 17:01:17)


<
                            
coder2045
Scratcher
1000+ posts

URL Parameters do not work

Wait, what?

Highlight this text and press Ctrl-Shift-Down to view more of my signature. There's a lot in there.
I FOUND THE POSTIE POSTIE POST LINK THIS
Brainteaser: What comes next? Answer on my profile. First correct answer gets a follow.

[ ]
[ [ ] ]
[ [ [ ] ] [ ] ]
Good projects ⬇️




MAZ3MAK3R
Scratcher
15 posts

URL Parameters do not work

Sign out of Scratch, and go to https://scratch.mit.edu/mystuff/ and that will show a login page, and in the URL there is “/?next=/mystuff/”. This is supposed to bring you to the my stuff page but it doesn't.

<
                            

Powered by DjangoBB