Open
Description
Suppose I have a product "cat frob" and I upload "frob.jpg" showing a nice cat frob. Later one of my employees creates "dog frob" and uploads "frob.jpg". As is, this will cause oscommerce to happily replace the picture of a dog frob with a picture of a cat frob without warning or complaint. This is a Bad Thing. There needs to be some mechanism to check if that filename exists and complain if there's a collision or do something like insert an identifying string into the filename like this: "frob-12345.jpg" where "12345" is products_id and make sure that doesn't collide either.