mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-12 21:52:07 +02:00
Workaround for Psi's wrong Type in form submission
This commit is contained in:
parent
eca7588abf
commit
9c5f34794a
|
@ -457,6 +457,8 @@ parse_xdata_submit(El) ->
|
|||
case xml:get_attr_s("type", Attrs) of
|
||||
"submit" ->
|
||||
lists:reverse(parse_xdata_fields(Els, []));
|
||||
"form" -> %% This is a workaround to accept Psi's wrong forms
|
||||
lists:reverse(parse_xdata_fields(Els, []));
|
||||
_ ->
|
||||
invalid
|
||||
end.
|
||||
|
|
Loading…
Reference in New Issue
Block a user