mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix a bug where an error stanza was not created correctly, leading to
ejabberd_c2s crash. PR: EJABP-1 SVN Revision: 1609
This commit is contained in:
parent
bc0d8613ab
commit
ca7a0813b4
@ -1,3 +1,8 @@
|
|||||||
|
2008-10-07 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||||
|
|
||||||
|
* src/ejabberd_local.erl: Fix a bug where an error stanza was not
|
||||||
|
created correctly, leading to ejabberd_c2s crash.
|
||||||
|
|
||||||
2008-10-06 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
2008-10-06 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||||
|
|
||||||
* src/ejabberd_sm.erl (process_iq/3): Fix a bug where we were matching
|
* src/ejabberd_sm.erl (process_iq/3): Fix a bug where we were matching
|
||||||
@ -18,7 +23,8 @@
|
|||||||
|
|
||||||
* src/ejabberd_sm.erl, src/mod_roster.erl, src/mod_roster_odbc.erl:
|
* src/ejabberd_sm.erl, src/mod_roster.erl, src/mod_roster_odbc.erl:
|
||||||
Fix status handling by always using binaries: until now, we were
|
Fix status handling by always using binaries: until now, we were
|
||||||
mixing lists and binaries in a non-working way.
|
mixing lists and binaries in a non-working way. Thanks to Pablo
|
||||||
|
Polvorin!
|
||||||
|
|
||||||
2008-10-02 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
2008-10-02 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ refresh_iq_handlers() ->
|
|||||||
ejabberd_local ! refresh_iq_handlers.
|
ejabberd_local ! refresh_iq_handlers.
|
||||||
|
|
||||||
bounce_resource_packet(From, To, Packet) ->
|
bounce_resource_packet(From, To, Packet) ->
|
||||||
Err = exmpp_stanza:error(Packet, 'item-not-found'),
|
Err = exmpp_stanza:reply_with_error(Packet, 'item-not-found'),
|
||||||
ejabberd_router:route(To, From, Err),
|
ejabberd_router:route(To, From, Err),
|
||||||
stop.
|
stop.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user