The form function Webfm.metadata.prototype.submitMeta double encodes input and textarea fields (name and value). This is not handled by webfm_putmeta and causes encoded data being stored in the database which makes processing almost impossible. To fix this webfm_putmeta needs to rawurldecode() the field name and the value.

Attached please find a patch against HEAD which solves the issue.

To fix existing records metadata need to be re-submitted.

Comments

fajo’s picture

Status: Active » Needs review
nhck’s picture

Status: Needs review » Fixed

#849752 by fajo: Fixed Double encoding of meta data not handled by webfm_putmeta().

Thank you for reporting and fixing this bug fajo, I have committed this to CVS and it will be in the next release version. Yeah!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.