Adds an extra space on at the end of most form variables.... thus needing to trim 
everything as Ben Doom says

>From VERY recent painful experience, be especially careful when uploading files using 
>CFFILE... If it is not a required field, and the file input it left blank... the 
>trailing space it adds means that CF Server thinks that there is a file and then 
>throws an error when trying to upload because there isn't....  had to solve it by 
>fudging a few cftry's together and testing for the browser...

-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2003 19:49
To: CF-Talk
Subject: RE: IE 5x on Mac Issues


IE/Mac is evil.

If you are using a multipart/mime form (probably for uploading a file) it
appends a newline to each value passed via the form.

trim() everything EXCEPT the variable holding the file info before using
them, and it should fix it.


--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc

: -----Original Message-----
: From: David Hannum [mailto:[EMAIL PROTECTED]]
: Sent: Thursday, February 20, 2003 2:24 PM
: To: CF-Talk
: Subject: IE 5x on Mac Issues
:
:
: Can anyone tell me anything about IE 5x on Mac not passing form info
: properly?
:
: Thanks,
: Dave
:
:
: 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to