I noticed that smiley code like mrgreen is inserted into the table `bb_search_wordlist` while other bbcode like the quotes gets erased before the post is indexed.
Wouldn't it make sense to parse out the smileys as well before indexing a post? Even though the size of `bb_search_wordlist` wouldn't increase much, `bb_search_wordmatch` certainly would with every post.
Why is smiley code getting indexed? (mrgreen)
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
-
- Registered User
- Posts: 25
- Joined: Sat Feb 19, 2005 5:06 pm
Re: Why is smiley code getting indexed? (mrgreen)
Shush! my yeast is rising... oO
dont u understand the concept of CVS?
dont u understand the concept of CVS?
Re: Why is smiley code getting indexed? (mrgreen)
Then bake bred with it.
I searched these forums but didn't find anything, that's why I posted this question.
I searched these forums but didn't find anything, that's why I posted this question.
Re: Why is smiley code getting indexed? (mrgreen)
Well, since phpBB3 is still in development, perhaps it's because the dev's haven't gotten around to that yet. Sort of like all the missing lang tags and so forth. Give it time. If it's still done like that once this board hit's the Release Candidate stage, then question why.
Re: Why is smiley code getting indexed? (mrgreen)
its fairly simple to fix, you get the smilie data from the cache, find what codes are used and refuse to allow them in. A regex would do no good because it would be too general.