Discuss Scratch

evantparkes
Scratcher
100+ posts

URL question

If you type the URL scratch.mit.edu/somethingrandom it goes to page not found, but if you type scratch.mit.edu/god it is forbidden?
ispretty
Scratcher
500+ posts

URL question

that's because https://scratch.mit.edu/god has a suffix that is an actual valid link. For some more examples:

In your case, https://scratch.mit.edu/go is the valid suffix for https://scratch.mit.edu/god

Last edited by ispretty (June 3, 2025 02:38:39)

Dhdfuhrifi_
Scratcher
19 posts

URL question

ispretty wrote:

https://scratch.mit.edu/mystuffhasbeentaken returns a forbidden because https://scratch.mit.edu/mystuff is a suffix and is an actual link (https://scratch.mit.edu/mystuffhasbeentaken)
Actually https://scratch.mit.edu/mystuffhasbeentaken doesn't returns a forbidden, it returns page not found
ispretty
Scratcher
500+ posts

URL question

Dhdfuhrifi_ wrote:

ispretty wrote:

https://scratch.mit.edu/mystuffhasbeentaken returns a forbidden because https://scratch.mit.edu/mystuff is a suffix and is an actual link (https://scratch.mit.edu/mystuffhasbeentaken)
Actually https://scratch.mit.edu/mystuffhasbeentaken doesn't returns a forbidden, it returns page not found
oops I missed that, not really sure why that's the case but oh well

Powered by DjangoBB