this post was submitted on 17 Aug 2023
46 points (97.9% liked)

Lemmy Support

4720 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Attempting to create a post with a title of "0! = 1" causes lemmy to stall, with the create post button remaining as a little spinning circle and no error messages.

This is not ideal?

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 28 points 2 years ago (3 children)

This is not ideal?

If inputs are not being sanitized properly, it's a huge security risk

[–] [email protected] 20 points 2 years ago (1 children)

Time for little Bobby Tables to join Lemmy.

[–] [email protected] 13 points 2 years ago

Reference: xkcd: Exploits of a Mom

Her daughter is named Help I'm trapped in a driver's license factory.

[–] [email protected] 14 points 2 years ago* (last edited 2 years ago)

There is no such things as unsafe text or unsafe characters. Only incorrect and insecure encoding practices. There's no valid security reason why something like 0 != 1 (or for that matter '); drop table posts; --) should not be allowed as a post title unless the developers are just too lazy or clueless to use parameterized SQL queries and correctly escape the title when including it in an HTML template.

[–] [email protected] 5 points 2 years ago

This is what I was worried about but I know just about nothing about lemmy/databases/etc

[–] [email protected] 8 points 2 years ago (3 children)

i'm curious about alternate front-end / API clients....

[–] danwardvs 9 points 2 years ago (1 children)

invalid_post_title error on Memmy on iOS. Seems the error isn’t being handled properly on the web interface. Why it’s an invalid title is the real mystery I suppose.

[–] [email protected] 8 points 2 years ago (1 children)

lemmy-ui is still pretty bad about presenting spinning graphics when encountering an error. As for why the title isn't rejected, maybe it's too short, I don't know the length minimum.

[–] [email protected] 4 points 2 years ago

I think you’re on to something. I think the title doesn’t have enough characters in it of the right sort. These three post titles were rejected:

R

=

==

I was able to make a post titled “===“.

The only conclusion that can be drawn is lemmy is discriminatory against math. Disgusting.

[–] [email protected] 5 points 2 years ago (1 children)

Oh! Good point.

I was posting this on Firefox on my desktop computer. It’s just the regular website, no front ends. I do have uMatrix but it’s disabled for lemmy (I can’t figure out how to make it work right with lemmy)

Maybe this has something to do with Blahaj? This stuff is real complicated.

[–] [email protected] 3 points 2 years ago

Lemmy not handling errors is just another Thursday...

[–] can 4 points 2 years ago

I get an error in Sync.

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago)

I was able to make such a post to @lemmy_support from kbin.social without incident.