Opened 8 years ago

Last modified 8 years ago

#13198 new defect

Pidgin on Windows does not authenticate if path to installation contain non-latin characters

Reported by: nex_otaku Owned by: deryni
Milestone: Component: XMPP
Version: 2.7.9 Keywords:
Cc:

Description

Pidgin on Windows does not authenticate if path to installation contain non-latin characters.

Steps to reproduce:

  1. Install Pidgin to latin-letter directory, ex. C:\Pidgin
  2. Set up a Jabber account on some server, make sure it works.
  3. Close Pidgin.
  4. Rename C:\Pidgin to non-latin name, ex. C:\Пиджин
  5. Start Pidgin again.

It will not connect, showing error "Server does not use any supported authentication method".

How to fix:

in file libpurple\protocols\jabber\jabber.c, find line 3781:

sasl_set_path(SASL_PATH_TYPE_PLUGIN, sasldir);

change it to

sasl_set_path(SASL_PATH_TYPE_PLUGIN, g_win32_locale_filename_from_utf8(sasldir));

Change History (2)

comment:1 Changed 8 years ago by QuLogic

  • Component changed from libpurple to XMPP
  • Owner set to deryni

comment:2 Changed 8 years ago by deryni

What version of Windows is this happening on?

Note: That patch leaks the returned string and will not do what is desired if the function returns NULL (which it can).

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!