25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

do not crash on unmatched request

SVN Revision: 2406
This commit is contained in:
Evgeniy Khramtsov 2009-07-30 13:08:26 +00:00
parent f4330e9ed3
commit cd68e0021e

View File

@ -239,7 +239,10 @@ process(_Handlers, #request{method='POST', q=Q, lang=Lang, path=[_, Id]}) ->
ejabberd_web:error(not_allowed); ejabberd_web:error(not_allowed);
captcha_not_found -> captcha_not_found ->
ejabberd_web:error(not_found) ejabberd_web:error(not_found)
end. end;
process(_Handlers, _Request) ->
ejabberd_web:error(not_found).
%%==================================================================== %%====================================================================