oc-mall-plugin icon indicating copy to clipboard operation
oc-mall-plugin copied to clipboard

The filename and the fallback cannot contain the "/" and "\" characters.

Open dathwa opened this issue 11 months ago • 1 comments

Hello. Client created a virtual product and set the dispaly name with a slash - e.g. "Fun/Games".

When customer tried to download after purchase, the following error was thrown.

The filename and the fallback cannot contain the "/" and "\" characters.
Class InvalidArgumentException
/public_html/vendor/symfony/http-foundation/HeaderUtils.php

Any chance the display name can be "cleaned" before this happens?

Thank-you

dathwa avatar Mar 13 '24 10:03 dathwa

Hello,

thanks for your bug report. I fixed this issue in commit 70bf2ba. Will be available in v3.2.0.

Sincerely,
Sam

SamBrishes avatar Mar 30 '24 22:03 SamBrishes

This issue has been fixed and released with v3.2.0 / v3.2.1.

SamBrishes avatar May 01 '24 14:05 SamBrishes