Advertisement:

Author Topic: Post title missing in recent posts list (specific user/browser?)  (Read 9725 times)

Offline Dharshan

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
  • Free as wind!
    • pcguide
Post title missing in recent posts list (specific user/browser?)
« on: September 10, 2010, 03:10:02 AM »
Just found this on the SMF info recent topics,

is this an error??


« Last Edit: July 25, 2011, 10:43:43 AM by emanuele »
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Dude111

  • Jr. Member
  • **
  • Posts: 301
  • An Awesome Dude
« Reply #1 on: September 10, 2010, 03:17:14 AM »
Hmmm those are threads i replied to,IT SHOULD SAY THE THREAD I REPLIED TO!!

Strange......

Oya

  • Guest
Re: What is this??
« Reply #2 on: September 10, 2010, 04:21:34 AM »
its cos you keep deletin the subject when you post

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #3 on: September 10, 2010, 05:19:12 AM »
Yep, it shows the topic of _the post_ not the actual topic... So if you delete the topic from your post, that's what it looks like.
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline (F.L.A.M.E.R)

  • Marketing
  • SMF Super Hero
  • *
  • Posts: 10,469
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
Re: What is this??
« Reply #4 on: September 10, 2010, 06:16:35 AM »
Hey Dharshan, I guess you just found a bug. :P

BUT, oddly enough, I can not replicate it. :o

- I made a topic first, tried to post it without the subject, it wouldn't let me through.
- I tried to make a reply and removed the subject, but it still would not let me through.
- I modified the reply and the first topic subject but it still would not let me through. It will give out a message saying No subject was filled or something over those lines.
Need paid assistance for your forum? CLICK ME!
Email: flamer@simplemachines.org (Stop sending me love proposals! I don't do Internet dating :P)

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #5 on: September 10, 2010, 06:22:06 AM »
Hey Dharshan, I guess you just found a bug. :P

BUT, oddly enough, I can not replicate it. :o
Actually, I can't either - it does check if there is a subject filled in or not... :o


Dude, what browser are you using and on what OS?
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline (F.L.A.M.E.R)

  • Marketing
  • SMF Super Hero
  • *
  • Posts: 10,469
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
Re: What is this??
« Reply #6 on: September 10, 2010, 06:26:22 AM »
It is FF 3.6.9 with Win 7

* (F.L.A.M.E.R) just realized that Lex was talking to Dude111 but not F.L.A.M.E.R the dude! :P
Need paid assistance for your forum? CLICK ME!
Email: flamer@simplemachines.org (Stop sending me love proposals! I don't do Internet dating :P)

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #7 on: September 10, 2010, 06:38:34 AM »
Yeah, I meant  Dude111 :D
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline Dharshan

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
  • Free as wind!
    • pcguide
Re: What is this??
« Reply #8 on: September 10, 2010, 08:15:03 AM »
Hey Dharshan, I guess you just found a bug. :P



Waah!  ;D

Dharshan jumps up... I found itzzzzzz

LOL. when i looked at it it felt weird... which inturn made me post it...
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Dude111

  • Jr. Member
  • **
  • Posts: 301
  • An Awesome Dude
« Reply #9 on: September 11, 2010, 04:31:42 AM »
Hmmm the site should show THE THREAD TITLE and not the title of the replies in that list of recent topics

Dude, what browser are you using and on what OS?

Im using IE6 with MyIE2 in front :) (Win98se)

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #10 on: September 11, 2010, 04:42:06 AM »
I'll have to test this - I have a real live Win 98SE installation on another computer actually... o_O
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline Dharshan

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
  • Free as wind!
    • pcguide
Re:
« Reply #11 on: September 11, 2010, 04:43:58 AM »
Im using IE6 with MyIE2 in front :) (Win98se)

Win 98SE  :D.. well I can remember the days i used that. i'm not far away from you .. am still using the humble old XP.

cheers!
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Dharshan

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
  • Free as wind!
    • pcguide
Re: What is this??
« Reply #12 on: September 11, 2010, 04:48:53 AM »
ok, this is getting weird. when i did the above post just a second ago, it appeared like this. (look at the attached pic.

I'm using Windows XP
Firefox 3.6.9 (with some add ons)

R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #13 on: September 11, 2010, 04:50:15 AM »
Actually XP isn't outdated at all - I still use it actively, and so does many of the companies I work for...
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #14 on: September 11, 2010, 04:51:05 AM »
ok, this is getting weird. when i did the above post just a second ago, it appeared like this. (look at the attached pic.
That's because you replied to a post with no topic I think.
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #15 on: September 11, 2010, 04:55:28 AM »
Testing Quick Reply on 98SE - God this feels weird :D
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
RE:
« Reply #16 on: September 11, 2010, 04:58:25 AM »
Testing normal reply on 98SE. Trying to remove the topic by hand (It did come up normally on the reply page) did not work, it will not let me post without it. ( IE5 + 98SE, no add ons ).

Will try to update to IE6 at some point, and try with the mentioned addon.
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline Dharshan

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
  • Free as wind!
    • pcguide
Re: What is this??
« Reply #17 on: September 11, 2010, 05:03:18 AM »
ok, this is getting weird. when i did the above post just a second ago, it appeared like this. (look at the attached pic.
That's because you replied to a post with no topic I think.

I'm trying to erase the topic,

I'm sure i didn't remove the topic when i replied.

I was replying to this topic when i got this error.

I cant post without a topic!!
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #18 on: September 11, 2010, 05:04:47 AM »
I'm sure i didn't remove the topic when i replied.
No, but you quoted a post without a topic, and so the topic of your post would just be RE:
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline Dharshan

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
  • Free as wind!
    • pcguide
Re: What is this??
« Reply #19 on: September 11, 2010, 05:11:53 AM »
I'm sure i didn't remove the topic when i replied.
No, but you quoted a post without a topic, and so the topic of your post would just be RE:

ok am quoting... i still have the topic here.....
« Last Edit: September 11, 2010, 05:17:32 AM by Dharshan »
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #20 on: September 11, 2010, 05:13:41 AM »
Just tested, If I quote a post by Dude111 the topic of my post is just Re:
as it should be, since SMF takes the topic from the post you quote, and adds a Re: in front of it.
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline (F.L.A.M.E.R)

  • Marketing
  • SMF Super Hero
  • *
  • Posts: 10,469
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
Re: What is this??
« Reply #21 on: September 14, 2010, 07:48:52 PM »
I'll move this to Bug Reports. Was it replicated by any chance?
Need paid assistance for your forum? CLICK ME!
Email: flamer@simplemachines.org (Stop sending me love proposals! I don't do Internet dating :P)

Offline Dharshan

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
  • Free as wind!
    • pcguide
Re: What is this??
« Reply #22 on: September 14, 2010, 11:44:38 PM »
I'll move this to Bug Reports. Was it replicated by any chance?

yes. chk my first post (the screen shot there)

it was replicated again (the second screen shot 13th post)
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #23 on: September 15, 2010, 12:57:51 AM »
I'll move this to Bug Reports. Was it replicated by any chance?
Haven't had luck replicating this, so so far it seems Dude111 is the only one that got this to happen.
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Offline (F.L.A.M.E.R)

  • Marketing
  • SMF Super Hero
  • *
  • Posts: 10,469
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
Re: What is this??
« Reply #24 on: September 15, 2010, 08:15:03 AM »
I'll move this to Bug Reports. Was it replicated by any chance?

yes. chk my first post (the screen shot there)

it was replicated again (the second screen shot 13th post)

Having "Re:" is a different thing than what Dude111 did. Compare both the screen shots. ;)

I'll move this to Bug Reports. Was it replicated by any chance?
Haven't had luck replicating this, so so far it seems Dude111 is the only one that got this to happen.
He broke SMF :o if we were able to replicate this, I would consider this as a major bug.
Need paid assistance for your forum? CLICK ME!
Email: flamer@simplemachines.org (Stop sending me love proposals! I don't do Internet dating :P)

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,444
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: What is this??
« Reply #25 on: September 15, 2010, 08:17:20 AM »
I still haven't had a chance to try the actual setup of 98SE + IE6 + whatever the addon mentioned was, but somehow I doubt it would make a difference - isn't the check for content done on server level though? Not on the client side?
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer



Online Kindred

  • Support Specialist
  • SMF Master
  • *
  • Posts: 31,264
  • Gender: Male
    • wagner999 on Facebook
    • @Kindred_999 on Twitter
Re: Post title missing in recent posts list (specific user/browser?)
« Reply #26 on: September 15, 2010, 10:30:48 AM »
BTW: I changed the title of this thread to be something descriptive.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.

Offline Arantor

  • SMF Legend
  • *
  • Posts: 50,786
    • wedgebook on Facebook
Re: Post title missing in recent posts list (specific user/browser?)
« Reply #27 on: September 15, 2010, 11:03:57 AM »
What has happened is that the subject has at some point been replaced with a space encoded as a numeric entity ( )

IIRC this would not be caught by the check made in Post.php against the subject being empty since the trim() operation would not be done on entities. I can't remember what processing is done prior to that trim(), though, as there is a htmlspecialchars() or $smcFunc['htmlspecialchars'] call. I don't have access to the source right now to view, but the order of operations, and the details of them, may be important.

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,822
  • Gender: Male
  • Because Orange is Orange
Re: Post title missing in recent posts list (specific user/browser?)
« Reply #28 on: July 25, 2011, 10:43:21 AM »
I cannot post any more without a subject and if entities are used they are not converted to the respective character, but are posted as a code...but I found another thing: an inconsistency between the post page and the quick reply.

If an entity (e.g. "& #160;" without the space) is posted from the quick reply it is converted to the corresponding char (a space in this case), while if the entity is posted from the post page the entity is converted to & #38;#160; (i.e. &+#160;).

The result is: posting & #160; from the quick reply in display you will see an "empty" post (it contains only a space), while posting & #160; from the post page in display you will see & #160;

I'm not sure if it makes sense... :P

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Illori

  • Doc Writer
  • SMF Master
  • *
  • Posts: 25,670
Re: Post title missing in recent posts list (specific user/browser?)
« Reply #29 on: November 18, 2011, 09:46:52 AM »
is this still an issue?

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,549
  • Gender: Male
Re: Post title missing in recent posts list (specific user/browser?)
« Reply #30 on: January 05, 2012, 04:23:33 PM »
If an entity (e.g. "& #160;" without the space) is posted from the quick reply it is converted to the corresponding char (a space in this case), while if the entity is posted from the post page the entity is converted to & #38;#160; (i.e. &+#160;).

The result is: posting & #160; from the quick reply in display you will see an "empty" post (it contains only a space), while posting & #160; from the post page in display you will see & #160;
Umm not able to reproduce this anymore. The data sent in the database "& #160;".
My Mods
How to enable Post Moderation


"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM gets microwaved.

Offline emanuele

  • Developer
  • SMF Super Hero
  • *
  • Posts: 11,822
  • Gender: Male
  • Because Orange is Orange
 
« Reply #31 on: August 19, 2012, 01:10:41 PM »
Is this still true?

As you can see from this post: more or less.

Okay, this is related to this: http://www.simplemachines.org/community/index.php?topic=484030.0

And of course, since it depends on javascript, if js is disabled it's still possible to post entities that are converted to the relative char and so post a virtually empty subject.

* emanuele feels that move the replacement to php is the way to go, but will wait for objections.

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.