#1580 Nickserv Password doesn't accept passwords with spaces

open
nobody
None
5
2013-05-16
2013-05-16
g0to
No

Xchat version : 2.8.8

After introducing a password which contains spaces in the "Nickserv Password" field under "Xchat" -> "Network List..." Select (highlight) a network and push "Edit..." Xchat fails to identify correctly the user although executing "/msg NickServ IDENTIFY account password" manually with the same password works.

Could you please take a look at the problem and release a fix?

Thanks a lot and keep it up!
♥ ☠

Discussion

  • g0to
    g0to
    2013-05-16

    After some code reviewing and some help from #xchat on Freenode (thanks, sacarasc):

    Xchat is sending "/msg NickServ IDENTIFY <what's in the 'NickServ Password' box>" to the server. So if you enter any space in that box, some networks will assume that you are sending the command "/msg NickServ IDENTIFY account password", taking the first portion of the password, till the first space, as your account name.

    How to fix this issue manually: enter your account name before your password in the "NickServ Password" box like this "<account> <password with spaces>"

    It would be great, anyway, finding a workaround for fixing this from Xchat.
    ♥ ☠

     
  • CaioAlonso
    CaioAlonso
    2013-05-19

    Is there a particular reason not to default to using "/msg NickServ IDENTIFY <account> <what's in the password field>"? Are there networks that don't support this format?

     
  • g0to
    g0to
    2013-05-19

    caioalonso,

    Rizon can serve as an example of network which doesn't accept that format:
    /msg NickServ HELP identify
    >NickServ< HELP identify
    -NickServ- Syntax: IDENTIFY password
    -NickServ-
    -NickServ- Tells NickServ that you are really the owner of this
    -NickServ- nick. Many commands require you to authenticate yourself
    -NickServ- with this command before you use them. The password
    -NickServ- should be the same one you sent with the REGISTER
    -NickServ- command.

    In contrast to, for example, Freenode:
    >NickServ< HELP identify
    -NickServ- ***** NickServ Help *****
    -NickServ- Help for IDENTIFY:
    -NickServ-
    -NickServ- IDENTIFY identifies you with services so that you
    -NickServ- can perform general maintenance and commands that
    -NickServ- require you to be logged in.
    -NickServ-
    -NickServ- Syntax: IDENTIFY <password>
    -NickServ-
    -NickServ- You can also identify for another nick than you
    -NickServ- are currently using.
    -NickServ-
    -NickServ- Syntax: IDENTIFY <nick> <password>
    -NickServ-
    -NickServ- Example:
    -NickServ- /msg NickServ IDENTIFY foo
    -NickServ- /msg NickServ IDENTIFY jilles foo
    -NickServ- ***** End of Help *****

    Thanks for your input ;)