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.
Seems that _services_file_check_name() doesnt do sanitizing correctly. When there's space character in filename, it seems to stay there even after going through the sanitize function.
When i added str_replace(" ","_",$name) under this function, filename was properly sanitized (space to underscore). Can you verify this?
Comments
Comment #2
kylebrowning CreditAttribution: kylebrowning as a volunteer and at Acquia commentedThat seems to be correct buf if we want to change this, we have to update all files created by services to fix their filenames, and that just seems like a big headache.