Subject: | Bug with digest-uri in XML/Stream.pm |
Date: | Sat, 14 May 2011 15:43:38 +0700 |
To: | bug-XML-Stream [...] rt.cpan.org |
From: | Anton Kropachev <tcppmm [...] gmail.com> |
I try to connect via perl to jabber-server, but always login is wrong.
In debug-mode on jabber-server i see error:
User login not authorized because digest-uri seems invalid: "/"
digest-uri must be xmpp/hostname
To me i fix this in Stream.pm line 2123:
- $self->{SIDS}->{$sid}->{sasl}->{client} = $sasl->client_new();
+ $self->{SIDS}->{$sid}->{sasl}->{client} = $sasl->client_new('xmpp',
$self->{SIDS}->{$sid}->{hostname});
--
--
Just for Fun (c) Linus Torwalds
Today is a good day to die (c) Manowar