#711 util.stanza.deserialize mutates input

Reporter Zash
Owner Zash
Created
Updated
Stars (0)
Tags
  • Milestone-0.11
  • Status-Fixed
  • Priority-Medium
  • Type-Defect
  1. Zash on

    util.stanza.preserialize() returns a new table util.stanza.deserialize() mutates the input and returns it This is inconsistent and may cause issues if eg a serialized stanza in a larger stored object is deserialized and the object is then saved back.

  2. Zash on

    I started working on this. I suspect an issue in mod_cloud_notify might be related.

    Changes
    • owner Zash
    • tags Status-Started
  3. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/6f97acc4583b

    Changes
    • tags Milestone-0.11 Status-Fixed

New comment

Not published. Used for spam prevention and optional update notifications.