Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

error 500 when in product name there is | (pipe) #109

Description

@ang3lx

Hello
I got 500 error when try to add or delete product from cart products that have | in name
I've fixed with a str_replace

line 533
'name' => Tools::str2url(str_replace("|", "-", $product['name'])),

line 549
'name' => Tools::str2url(str_replace("|", "-", $product['name']))

line 798
$add_product['name'] = str_replace("|", "-", $add_product_object->name);

please fix new version :)
last update 2015 on addons store
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions