POSTing new content does not contain "undefined" in the URL