Test for #1349
(cherry picked from commit 41889b202f34377873b55cde98656c7b7856c816)
Fix #1349
(cherry picked from commit 56bbf0e2fdeee88edab3f2260ca2c5ed110fa938)

Conflicts:
	ext/forms/form.c
Updated CHANGELOG
Regenerated build/ files