#711 util.stanza.deserialize mutates input

Reporter Zash
Owner Zash
Stars (0)
  • Status-Fixed
  • Type-Defect
  • Priority-Medium
  • Milestone-0.11
  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.

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

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

    • tags Status-Fixed Milestone-0.11

New comment

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