mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
do not crash on unmatched request
SVN Revision: 2407
This commit is contained in:
parent
628b03f3c0
commit
35c1c3774c
@ -241,8 +241,10 @@ process(_Handlers, #request{method='POST', q=Q, lang=Lang, path=[_, Id]}) ->
|
||||
ejabberd_web:error(not_allowed);
|
||||
captcha_not_found ->
|
||||
ejabberd_web:error(not_found)
|
||||
end.
|
||||
end;
|
||||
|
||||
process(_Handlers, _Request) ->
|
||||
ejabberd_web:error(not_found).
|
||||
|
||||
%%====================================================================
|
||||
%% gen_server callbacks
|
||||
|
Loading…
Reference in New Issue
Block a user