Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Purr: a simple Scratch URL shortener
- NFlex23
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
I'm actually going to delete the database because someone is abusing the system. I've also added some precautions to prevent spam. Sorry for the inconvenience, I won't do this again!
Last edited by NFlex23 (Sept. 9, 2021 12:12:04)
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- Chiroyce
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Hi Purr developer, why did you remove the admin panel when you could've fixed the bugs in it? I can help you I've also added some precautions to prevent spam.
Last edited by Chiroyce (Sept. 9, 2021 14:43:44)
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- Chiroyce
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
https://www.purr.ml/gqq2Firefox to the rescue
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- Chiroyce
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Another bug!
Someone can make a domain like this —
https://scratch.mit.edu.random.domain
and it'll pass the scratch URL test.
See for yourself — www.purr.ml/0gcw
Someone can make a domain like this —
https://scratch.mit.edu.random.domain
and it'll pass the scratch URL test.
See for yourself — www.purr.ml/0gcw
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- Jeffalo
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
url parsing is really hard to do. i dont know python, but maybe this will help https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparse
- CST1229
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Last edited by CST1229 (Sept. 9, 2021 15:49:19)
This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023
RIP assets image hosting. 2013?-2023
- NFlex23
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Too many bad words that I didn't want to read and I was tired of deleting them.Hi Purr developer, why did you remove the admin panel when you could've fixed the bugs in it? I can help you I've also added some precautions to prevent spam.
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- Chiroyce
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
ok how did you do that?!https://www.purr.ml/gqq2https://www.purr.ml/v8vt
url go brrrr
Use this Too many bad words that I didn't want to read and I was tired of deleting them.https://pypi.org/project/profanity-filter/
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- CST1229
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
https://scratch.mit.edu:@google.com ok how did you do that?!
(hopefully jeffalo/the devs/the st won't scream at me)
This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023
RIP assets image hosting. 2013?-2023
- Chiroyce
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
And how does it work? https://scratch.mit.edu:@google.com
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- CST1229
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Basically that's using an obscure url component, login info. (like username:password@website.website)And how does it work? https://scratch.mit.edu:@google.com
You can trick this shortener with that by just having scratch.mit.edu as the username.
As a side note, you can do this without specifying a password at all, kinda like an email address.
Also dev pls fix.
Last edited by CST1229 (Sept. 9, 2021 16:09:06)
This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023
RIP assets image hosting. 2013?-2023
- NFlex23
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
I guess I could use regex…Basically that's using an obscure url component, login info. (like username:password@website.website)And how does it work? https://scratch.mit.edu:@google.com
You can trick this shortener with that by just having scratch.mit.edu as the username.
As a side note, you can do this without specifying a password at all, kinda like an email address.
Also dev pls fix.
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- NFlex23
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Good idea, I'll add this soon.ok how did you do that?!https://www.purr.ml/gqq2https://www.purr.ml/v8vt
url go brrrrUse this Too many bad words that I didn't want to read and I was tired of deleting them.https://pypi.org/project/profanity-filter/
Last edited by NFlex23 (Sept. 9, 2021 18:07:35)
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- Jeffalo
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
I guess I could use regex…Basically that's using an obscure url component, login info. (like username:password@website.website)And how does it work? https://scratch.mit.edu:@google.com
You can trick this shortener with that by just having scratch.mit.edu as the username.
As a side note, you can do this without specifying a password at all, kinda like an email address.
Also dev pls fix.
https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparseurl parsing is really hard to do. i dont know python, but maybe this will help
- -TWILIGHTMISTY-
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Wow, very nice!
I'm Callisto(please don't call me Twilight), but you can call me Cal/Cass. I go by she/he/they pronouns.
- NFlex23
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Not entirely sure how to use it correctly.I guess I could use regex…Basically that's using an obscure url component, login info. (like username:password@website.website)And how does it work? https://scratch.mit.edu:@google.com
You can trick this shortener with that by just having scratch.mit.edu as the username.
As a side note, you can do this without specifying a password at all, kinda like an email address.
Also dev pls fix.https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparseurl parsing is really hard to do. i dont know python, but maybe this will help
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- NFlex23
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Purr is currently down, as replit is taking FOREVER to install a package.
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- NFlex23
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
Thanks. Wow, very nice!
Wow, first time running into the 60 second rule.
Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
- Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
- The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
- Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
- Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
- Issues with Scratch itself should be put in Bugs and Glitches.
- gdpr5b78aa4361827f5c2a08d700
- Scratcher
1000+ posts
Purr: a simple Scratch URL shortener
you don't need to hash a password if only you're using it and its stored in an environment variable. sha256 is nonetheless an insecure algorithm that shouldn't be used. i always bcrypt and salt passwords that actually need to be hashed
- Discussion Forums
- » Advanced Topics
- » Purr: a simple Scratch URL shortener