Jump to the post that solved this thread.
Not Solved quoted post identifier not consistent
#1
Not Solved
I'm curious. I notice some inconsistency in mybb_posts message field, where a quoted post contains either single quotes or double quotes to delimit the username, as in

[quote='username' pid='517059' etc.
or
[quote="username" pid='361830' etc.

At first I thought it might be related to software versions over the years, but that isn't so. This was observed while searching for quoted posts by one username.

There are 521 quoted posts with username delimited by single quotes as early as when we were running v1.6.8 and as late as 8/24/21 running 1.8.26.

There are 52 quoted posts with username delimited by double quotes as early as v.1.8.19 and as late as 8/23/21.

/ocd
Big Grin
Reply
#2
Not Solved
See https://github.com/mybb/mybb/blob/8cb31f...#L220-L224 (modified in 1.8.11: https://github.com/mybb/mybb/commit/6a47...407791f9e9)
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#3
Not Solved
Ok, makes sense, although the particular username does not contain an apostrophe or single quote. I see what the intent is.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)