Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter maivanco

    (@maivanco)

    Hi @mahfuzurwp ,
    I’ve had a deep dive into this as I was able to reproduce the problem locally. There appears to be a bug in WooCommerce in that it doesn’t recognise a legitimate s3:// file path.
    In the function?\WC_Product_CSV_Importer_Controller::file_is_in_directory?the code calls?new URL( $filepath)?with the uploaded csv.
    This breaks a valid S3 path like?s3://s3-altis-dev/uploads/2025/02/product-sample_products-cug03qahbw.csv?by changing it to?file://s3/s3-altis-dev/uploads/2025/02/product-sample_products-cug03qahbw.csv

    Can the team consider fixing this error in Product Import to support S3?

    Thank you & regards,
    Michael

Viewing 1 replies (of 1 total)