]> granicus.if.org Git - ejabberd/commit
XEP-0198: Reject <resume/> with negative 'h' value
authorHolger Weiss <holger@zedat.fu-berlin.de>
Fri, 9 May 2014 16:01:31 +0000 (18:01 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Fri, 9 May 2014 16:01:31 +0000 (18:01 +0200)
commit15369ff9d7f8738d9da167fac8883bbd0067cd35
treec78d0e9a6e9cbf8c16129bd92e551c4289551383
parenta60fda7df45f03c703d269677dc8aaaabdc2bd4e
XEP-0198: Reject <resume/> with negative 'h' value

Make sure the 'h' attribute sent with a <resume/> request is
nonnegative, as mandated by XEP-0198.

We already have this check for <a/> elements.
src/ejabberd_c2s.erl