Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291123

Dots in filename causes file_validate_extensions to give error

$
0
0

When uploading files named such as www.somesite.com_www.google.com.csv using 'file_validate_extensions' => array('csv') - the file is renamed as it is taking the extension not as csv, but i guess from the first occurrence of a . - when i rename the file without the dots in the filename, upload works as expected.


Viewing all articles
Browse latest Browse all 291123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>