Discuss Scratch

Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

As defined by RFC 3986, section 2, tildes and commas are legal characters in URIs (commas are reserved for delimiters). But the Scratch forums don't like these two characters so they encode them, which means it's impossible to link to text fragments as described in this topic.

Edit: also applies to @ and + and likely others

Last edited by Maximouse (May 16, 2021 14:27:20)

Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Bump.
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Bump.
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Bump, also applies to plus signs.
mlcreater
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Maximouse wrote:

As defined by RFC 3986, section 2, tildes and commas are legal characters in URIs (commas are reserved for delimiters). But the Scratch forums don't like these two characters so they encode them, which means it's impossible to link to text fragments as described in this topic.
I think it blocks commas so people can't link to data: pages.
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

mlcreater wrote:

Maximouse wrote:

As defined by RFC 3986, section 2, tildes and commas are legal characters in URIs (commas are reserved for delimiters). But the Scratch forums don't like these two characters so they encode them, which means it's impossible to link to text fragments as described in this topic.
I think it blocks commas so people can't link to data: pages.
It doesn't support data URIs anyway. As I said in the OP, fixing this would make it possible to link text fragments such as individual sections of TOLORS.
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Bump.
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Bump.
9gr
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

bump
….aaandd Support. This will fix replit links wow i thought this was a suggestion

pls fix ST

Last edited by 9gr (May 16, 2021 14:24:01)

Chiroyce
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Yes, this bug should be fixed soon - a lot of URLs are broken due to this.
gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

i've seen this break a lot of replit links, pls fix this st ill give u fortnite card ok?
mybearworld
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Maximouse wrote:

[View post]

mlcreater wrote:

Maximouse wrote:

As defined by RFC 3986, section 2, tildes and commas are legal characters in URIs (commas are reserved for delimiters). But the Scratch forums don't like these two characters so they encode them, which means it's impossible to link to text fragments as described in this topic.
I think it blocks commas so people can't link to data: pages.
It doesn't support data URIs anyway. As I said in the OP, fixing this would make it possible to link text fragments such as individual sections of TOLORS.
Wait, that's possible?
Cr, it is really annoying when something like that happens.
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

mybearworld wrote:

Wait, that's possible?
Copy this into the address bar:
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/343602/#:~:text=Improve%20or%20remove%20the%20extension%20policy,or%20well-known%20companies%20like%20Google.
Chiroyce
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Maximouse wrote:

mybearworld wrote:

Wait, that's possible?
Copy this into the address bar:
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/343602/#:~:text=Improve%20or%20remove%20the%20extension%20policy,or%20well-known%20companies%20like%20Google.
All that does is load TOLORS, nothing else, not even scrolling to that part.
gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Chiroyce wrote:

Maximouse wrote:

mybearworld wrote:

Wait, that's possible?
Copy this into the address bar:
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/343602/#:~:text=Improve%20or%20remove%20the%20extension%20policy,or%20well-known%20companies%20like%20Google.
All that does is load TOLORS, nothing else, not even scrolling to that part.
Works for me.
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Chiroyce wrote:

All that does is load TOLORS, nothing else, not even scrolling to that part.
It doesn't work for me either in Firefox. I don't know why – I thought Firefox supports these links, but maybe it doesn't.

Last edited by Maximouse (May 17, 2021 07:00:34)

Chiroyce
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Maximouse wrote:

Chiroyce wrote:

All that does is load TOLORS, nothing else, not even scrolling to that part.
It doesn't work for me either in Firefox. I don't know why – I thought Firefox supports these links, but maybe it doesn't.
It doesn't work in Safari as well! I'll have to use Chrome on my old laptop later. …
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Bump.
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Bump~+@
Maximouse
Scratcher
1000+ posts

Forums incorrectly encode commas, plus signs and some other characters in url tags

Bump,

Powered by DjangoBB