Hi lemmy.world folks,
I’m having an issue creating a new post in !selfhosted@lemmy.world.
- Cross-instance posting from my home instance (https://szmer.info) only creates a post in my home instance’s view of @lemmy.world. After 10 hours the post still doesn’t appear on @lemmy.world.
- I’ve created a local (@lemmy.world) account and tried again - but then the Submit button spins forever. The post doesn’t appear in the community.
- Using the “Photon” UI I get an error pop-up saying simply “couldnt_create_post”.
To the best of my knowledge I’m not banned.
Do you know what coud be going on and how could I regain my ability to post?
I think I’ve found the issue. So I’ve found out that Lemmy has a 200 character limit for titles. My post had 198 characters:
I’ve just released Gatekeeper 1.6.0. It’s a single executable that turns any Linux machine into a home gateway. Now with realtime traffic graphs, LAN autoconfiguration, full cone NAT & better looks.
Removing the word “just” at the beginning brought the total character count to “193”:
I’ve released Gatekeeper 1.6.0. It’s a single executable that turns any Linux machine into a home gateway. Now with realtime traffic graphs, LAN autoconfiguration, full cone NAT & better looks.
And the post got created successfully :)
I think something might have prevented lemmy.world from accepting the 198-character title but worked with 193-character one. This doesn’t happen on my home instance, running lemmy 0.18.1 but happens on @lemmy.world, running 0.18.5.
Ah, I’ve found the issue. The ampersand character in the title was escaped to HTML entity (
&
), which bumped the title length above the limit. I noticed this after posting the shorter title & trying to change it back.Since you investigated and found a workaround maybe it would be worth submitting an issue to the Lemmy GitHub repo.
SGTM
Submitted as https://github.com/LemmyNet/lemmy/issues/4080
<3