Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#45786 closed defect (bug) (duplicate)

CSV file won't import

Reported by: vagherbie's profile vagherbie Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.0.2
Component: Upload Keywords: needs-patch
Focuses: Cc:

Description

I tried to import a .csv file but WordPress prompts a message
"Sorry, This file is not permitted for security reasons"

I was trying to import some products on WooCommerce but I got this message.
Finaly, I managed to upload the file after installing a plugin (https://wordpress.org/plugins/wp-add-mime-types/) that allows user to define the MIME types. Even more strange, this file type was already included in the list with the allowed MIME types (on the plugin settings). And I think it is normally included by default to the list of the allowed MIME types. I remember using the WooCommerce and third party imported with .csv's several times.

WordPress version: latest (5.0.2)
Tested on a Local Host (Apache, PHP 7.2, MySQL) LINUX
And on an online server of SiteGround (on a mainstream plan)

Same think happend both times.

I think there is a problem here guys.

Change History (1)

#1 @audrasjb
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi, welcome to WordPress Trac and thanks a lot for opening this ticket,

This issue is already tracked in #45615.

Note: See TracTickets for help on using tickets.