Specific sequence of characters in Topic title causes weird Forum behavior
-
In the Notepad++ Community forum, we recently had a user try to create a post with the title
How to create a custom collaspe option
, with the wordcollapse
misspelled ascollaspe
. It showed up in the post-queue, and was approved. When it tried to go live, it showed up in the list of unread or recent posts, but when any user clicked on it (whether it's my Admin-privileged user, or a "moderator", or a "normal" user), they saw a "Not Found" page.I did some experimenting:
- When I tried to create another post with the same name, it had the same problem.
- When I created a Topic with a new name, then renamed the topic to the original, this topic started having the same problem, even though it worked with a different name.
- I started playing around with titles (keeping in mind the 8 character minimum length)
collapse
worked,collaspe
didn't- so, if I tried to create
collaspe
originally, it would immediately go inaccessible - if I created one called
collapse
, then renamed, it would originally look okay (after the edit), but if I forced a page reload using the browser refresh button, it should show "Not Found"
- so, if I tried to create
- I tried a bunch more, but narrowed it down to anything that had
asp
(lowercase or uppercase), whether as part of a name, or as a separate word, it will show this problem
If it were just "people cannot misspell a word as
collaspe
", that wouldn't be a problem. And in a Notepad++ text editor forum, not being able to talk about the snake called anasp
wouldn't be that big of a deal. But since Notepad++ can syntax highlight ASP.net code, that's likely to be included in a title -- in fact, historically, we have had titles withASP
andASP.net
in them: they can be easily seen on these search results. But if I try to view one of those historically-good posts, those posts also show up as "Not Found". And if I try to create a new post, or rename an existing post, to include that text, it will show up as "Not Found".I don't know whether it's a bug in the v3.8.4 of the NodeBB software (which was the last version you updated us to), or whether it's some configuration specific to the Notepad++ Community, but I need help getting this working again, so that historical posts can be viewed, and so that people can create ASP.net-related posts in the future.
I left one of my debug posts in a state with a bad title
ASP.net syntax highlighting question
, and you should be able to see some of my experimental history on that post in the Events:- https://community.notepad-plus-plus.org/topic/26482/
- https://community.notepad-plus-plus.org/post/98666/
Working Name:
Immediately after rename:
Force a browser reload:
Post still in the recent/unread lists:
Result of clicking on the topic from the recent/unread lists:
-
Thanks for the fast response!