PtokaX forum

PtokaX => Bugs => Topic started by: Thor on 17 June, 2009, 17:51:01

Title: Registered users nick/password
Post by: Thor on 17 June, 2009, 17:51:01
I don't know if it has been already reported, but there is a little problem in the user registering part in PtokaX 0.4.1.1. Check it with the following command:
Quote!addreguser some
body password Reg
Or this:
Quote!addreguser somebody pass
word Reg
As you know, the clients can write multiline texts with Ctrl+Enter, and PtokaX accept the nicks and passwords in multiline. But the clients are unable to send this, because the password field in the favorite hubs is single-line. When I used this command, I got:
Quote[2009.06.17. 17:48:25] <HubSecurity> some
body has been successfully registered.
The GUI shows me these regs with the 10 and 13 chars as little black squares, so PtokaX really don't remove it. Please fix it in the upcoming version ;)
Title: Re: Registered users nick/password
Post by: CrazyGuy on 17 June, 2009, 23:40:25
Quote from: Hungarista on 17 June, 2009, 17:51:01
But the clients are unable to send this, because the password field in the favorite hubs is single-line.

So is this a PtokaX bug or a client shortcoming ?  ;)
Protocol specs allow
$ValidateNick some(char 10)(char 13)body|
$MyPass pass(char 10)(char 13)word|

But yea, it's not handy. I would suggest to not use it when entering a registration :P
Title: Re: Registered users nick/password
Post by: Thor on 19 June, 2009, 17:49:07
Quote from: CrazyGuy on 17 June, 2009, 23:40:25
I would suggest to not use it when entering a registration :P
I didn't use this, but an operator changed my registration with a password what contained these characters. And, of course, I was unable to log in.