|
CC code bug
Ken,
Over the past few months, I've had an occational problem where after I have logged into planet-9.com and been reading posts, I would start to post a reply only to get a pop-up window telling me I was not logged in when I tried to submit the reply. I *know* I was successfully logged it, because I could scroll up and see the "Logged in as L8Apx" message in the original window. Last week I had a theory about the problem, and tonight it happened again. But good news - I know what's causing it!
Note that my login is mixed case. I've discovered that when I login on the home page, it doesn't matter what case I use. (Or more accurately, how badly I fat-finger the shift key) The site tells me I'm successfully logged in as "L8Apx" (only 2 UC letters, as originally requested). However, if I type something like "L8apx" or "L8APx" at the original (successful) login prompt, the later error upon post submission occurs. Note that everything is fine after I "re-login" to the pop-up window -- at this point I tend to type more carefully.
So somewhere in that pile of PHP code (I think that's what vBulletin is written in), there is an inconsistency in login string matching and whether the compare is case insensitive or not.
__________________
L8apx
|