[ejabberd] priority bug

sergio ejabberd at sergio.spb.ru
Mon Sep 3 14:07:43 MSD 2007

Badlop wrote:
> 2007/8/31, sergio <ejabberd at sergio.spb.ru>:
>> ejabberd allows to set priority outsite char (-128..128) range
> Bug and patch submitted to:
> https://support.process-one.net/browse/EJAB-348
> That patch puts priority = 127 if the user tries to put a very high value.
> And puts -128 if the user tries to put a very low value.
> Do you see this correct, or should be better to put priority=0 if the
> user exceeds the allowed range?

imho it's better to reject such priority requests with error..


More information about the ejabberd mailing list