Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Upload file with -- in the name

Upload file with -- in the name

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

We have some projects where we are uploading files with "dash dash" in the filename. Example "{productNumber}--front.jpg"

 

If I try to upload this image from the backend, it does not work. Shouldn't it work?
(using 9.3.6)

 

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply

Does not work, means what exactly? Exception, something else?

I can upload, but the "--" is replaced by "-" to avoid SQL injection checks in the frontend - maybe a bit legacy since that has been updated later on.

,;+'# are also replaced with _

BR Nicolai

 

You must be logged in to post in the forum