Page 1 of 1
Profile update escape string problem.
Posted: 12/15/2004, 10:33 pm
by faninor
When updating your profile, if there is an error (such as a signature that's too long), the strings that are placed back into the fields aren't the original strings, but escaped strings.
Thus, if you put this as your Custom Title:
"I don't care about escaping strings."
and you try to submit it, but it fails for whatever reason, the text that is placed back into the Custom Title field will be:
"I don\'t care about escaping strings."
There should be an unescape function that can be used when placing the strings back into the fields after a failed attempt to update your profile.
Posted: 12/15/2004, 11:42 pm
by nikki4982
Go ahead, edit the board's php. Cos lord knows *I* have no idea how to do it... and I don't feel like teaching myself just to fix that little bug.

Posted: 12/15/2004, 11:45 pm
by faninor
:*)**
Posted: 12/15/2004, 11:47 pm
by faninor
Crap, I was going to start counting my posts until I got to 500.
I think I'm at 4.
Anyway yeah, I noticed a bunch of backslashes in someone's avatar so I decided to find the problem.
4
Posted: 12/15/2004, 11:58 pm
by nikki4982
I think that's Jason's you're talking about... right?
Posted: 12/16/2004, 12:11 am
by faninor
Yep. Think I've seen it before, though, so either other people have had similar problems or I've just noticed his multiple times now.
5
Posted: 12/16/2004, 12:12 am
by nikki4982
I think other people have had it, too. I've noticed it, but just figured it was a typing error.

Posted: 12/16/2004, 12:17 am
by faninor
Well, if they follow all the rules and restrictions when they update their profile it isn't a problem. But nope, it's a code problem.
What would be really fun is if someone with a special character in their username accidentally changed it like this, and then they could never log in again because they didn't know their username.
7
Posted: 12/16/2004, 12:18 am
by nikki4982

Wonder who that could happen to...

*looks in Josh's general direction*
Posted: 12/16/2004, 12:21 am
by Johnny
What?
Posted: 12/16/2004, 12:22 am
by nikki4982
Johnathan... just leave this thread right now... and never look back.

Posted: 12/16/2004, 12:24 am
by Johnny
What?
Posted: 12/16/2004, 12:27 am
by nikki4982
LEAVE!!!!!
This thread will only hurt your head.

Posted: 12/16/2004, 12:29 am
by Johnny
It already has. I don't understand a single thing here.
Posted: 12/16/2004, 12:34 am
by faninor
Oh no.
10
PS Johnathan, never ever change your screenname or password to anything with an apostrophe, quotes, or backslash in it.
Posted: 12/16/2004, 12:36 am
by Johnny
ummm okay....

Posted: 12/16/2004, 12:39 am
by faninor
Nikki said run!
11
Posted: 12/16/2004, 12:49 am
by nikki4982
He really doesn't listen.

Posted: 12/16/2004, 12:50 am
by happening fish
Wow, did I ever stumble into the wrong thread....
*backs out slowly, maintaining eye contact*
Posted: 12/16/2004, 12:51 am
by Johnny
I'm lost! aye!