id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses
15252 Import WXR breaks serialized postmeta that contains a space before the end of a line. shawnparker "On the whole, serialized data comes in just fine. But we ran in to an issue the other day where serialized is damaged on import.
The case is where serialized data contains a space before a carriage return. During import the serialized data is truncated. I'm not sure exactly where the problem lies, yet, as it seems it might actually be a problem inside `fgets()`. The obvious place to look as at the `rtrim()` (line 121 of wordpress-importer.php) that is done on each line but our test case failed even when removing this from the importer.
We haven't been able to investigate much further but I wanted to get the conversation started here." defect (bug) closed normal WordPress.org Import normal fixed reporter-feedback