Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If a user uploads a file with a bad line ending. For example mac line endings. The import will fail.
Proposed resolution
Let php detect file endings
Remaining tasks
Write a patch with a test.
User interface changes
none
API changes
none.
Data model changes
none.
Release notes snippet
none
Comment | File | Size | Author |
---|---|---|---|
#3 | price_list_mac_line_endings.txt | 111 bytes | eiriksm |
#2 | 3097319.patch | 2.8 KB | eiriksm |
#2 | 3097319-test-only.patch | 2.1 KB | eiriksm |
|
Comments
Comment #2
eiriksmComment #3
eiriksmIf someone wants to manually test this, here is the mac file ending price list, for convenience.
Comment #4
jsacksick CreditAttribution: jsacksick at Centarro commentedCommitted! Thanks!