View Full Version : Image Upload Flaw
Do you know what happens when you upload an image file that contains an embedded space? You can upload it, but mambo doesn't play well with it. RSGallery produces error messages on the gallery screen when attempting to display it.
For those who are picking up the development on RSGallery, and developers of other image-handling functionality, there may need to be a validation performed on image uploads to avoid this problem.
Two of my clients have done this. One of them is cursing mambo to hell... lol.
are you uploading zipfiles or just single images?
not that it makes a difference :(
Both dont work with files with spaces in it.
LOL... if there is a flaw to find, this client of mine will find it!
When you've been in the web business for a while you know that spaces in filenames are a no-no. There's so much we take for granted that the average client wouldn't have a clue about - that's what makes me a bit nervous about handing something like Mambo over to someone who knows very little about computers/web stuff. It's almost like we need a Dummies Guide for clients. :rolleyes:
If I have client who has little or no knowledge of the net and/or mambo, I usually show them around and sometimes write them "dummy" guide as you have mentioned. It's a bit more money out of the pocket but if you absolutely no knowledge it pays off.
But if it is easy as a programmer to tackle possible problems i think you should do it.
This particular problem with Rsgallery can be solved very quickly, the new version will tackle this problem.
Yes I agree with writing up instructions for the client, but where do you draw the line? I'm not going to teach someone how to use a computer. He didn't know you could open two browser windows at the same time until I showed him. He didn't know how to drag-and-drop files from one location to another. He even contacted Yahoo so he could get an email address for his new domain name (even though I had already set the DNS and was building the site), and suddenly, Yahoo had hijacked the site! He never took the blame for that... 'it was yahoo's fault... they did it'. I think the biggest lesson I've learned from this is to make sure the client has the basic ability to manage the site online before taking on the job.
vBulletin® v3.8.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.