#711 util.stanza.deserialize mutates input

Reporter Zash
Owner Zash
Created
Updated
Stars (0)
Tags
  • 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.

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

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

    Changes
    • tags Status-Fixed Milestone-0.11

New comment

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