Odd behavior of "hilit" function after forum search

For the reporting of bugs, error messages or things being down / unavailable.
Post Reply
User avatar
Posts: 7360
Joined: Tue Sep 09, 2014 5:50 pm
I've donated: $40.00!
My articles: 4
My images: 78
My cats species list: 113 (i:37, k:48)
My aquaria list: 29 (i:13)
My BLogs: 36 (i:125, p:1867)
My Wishlist: 39
Spotted: 139
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton

Odd behavior of "hilit" function after forum search

Post by bekateen »

Hi Jools, Mats, or whomever,

I was recently searching for an old post of mine, using the search word "maccus." When I clicked on any of the results (e.g., http://www.planetcatfish.com/forum/view ... lit=maccus), I found that any CLOG link which was highlighted as a result of the search didn't display correctly on the page: Instead of showing the species name properly and behaving like a link to the CLOG page, the screen displayed what resembled untranslated HTML code (or whatever script or code it is), along with a placeholder box for a broken link: In this case, I obtained "(maccus" onmouseover="Tip('"Panaqolus
Panaqolus maccus ', WIDTH, 320)" onmouseout="UnTip()" target="_blank">Panaqolus maccus)

If I deleted the string "&hilit=maccus" from the URL address, the post displayed correctly. If I pasted the same string back into the URL, then the defective code appeared again. If I clicked on the "Edit post" link, and then clicked the "Submit" button without making any changes to the post, it displayed correctly.

And it's not just with my own posts. If I randomly search for another name (in this case, I tried "Hypancistrus") and click on a link such as the thread called, "Re: What kind of Pleco?," then I encounter the same problem behavior.

Not sure why this problem appeared, as I hadn't seen it before.

Sorry, Eric
Would you like to buy my fish? Click HERE for prices.
Buying caves from https://plecocaves.com? Plecocaves is now sponsoring Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
Post Reply