Tom Chiverton
Member since Nov 16, 2010
- Profile: /members/7293-tom-chiverton.htm
- Comments: 26
Recent Blog Comments By Tom Chiverton
-
ColdFusion 11 Accepts All Top-Level Domains (TLD) For IsValid() Email Validation
Posted on Jan 21, 2015 at 3:50 AM
"Yeah, it still breaks on anything that is "malformed". Or, at least, obviously malformed." That's all you can reasonably do with a passive server side check. The only way to know is to send the address a link to click.... read more »
-
ColdFusion 11 Accepts All Top-Level Domains (TLD) For IsValid() Email Validation
Posted on Jan 19, 2015 at 4:06 AM
(PS, in the above it turns out your blog doesn't like unicode :-) )... read more »
-
ColdFusion 11 Accepts All Top-Level Domains (TLD) For IsValid() Email Validation
Posted on Jan 19, 2015 at 4:05 AM
Did you also try IDNs like . ??? ? http://en.wikipedia.org/wiki/Internationalized_country_code_top-level_domain... read more »
-
IsValid() Accepts Emails With Leading And Trailing Whitespace In ColdFusion
Posted on Mar 21, 2014 at 7:40 AM
Not as lazy as the Adobe engineer who couldn't even be bothered to put my test data into the unit test !... read more »
-
IsValid() Accepts Emails With Leading And Trailing Whitespace In ColdFusion
Posted on Mar 21, 2014 at 7:23 AM
@Ray - I thought everyone already new about https://bugbase.adobe.com/index.cfm?event=bug&id=3231157 ? Note it's closed fixed despite still not understanding IDN domains.... read more »
-
IsValid() Accepts Emails With Leading And Trailing Whitespace In ColdFusion
Posted on Mar 18, 2014 at 9:54 AM
"this is just a quick note about validating email addresses with the isValid() function" Don't ?... read more »
-
JsonSerializer.cfc - A Data Serialization Utility For ColdFusion
Posted on Dec 12, 2013 at 9:07 AM
Getting of topic, but you can populate a tree on demand by only loading the root nodes to start with.... read more »
-
Uploading Files To Amazon S3 Using Plupload And ColdFusion
Posted on Dec 4, 2013 at 4:08 AM
I've not read anything about Amazon changing their URL formats. The easiest way to see errors might be to capture the network traffic...... read more »
-
JsonSerializer.cfc - A Data Serialization Utility For ColdFusion
Posted on Oct 10, 2013 at 6:15 AM
I was trying to use the same technique quickly to fix a simple array of objects being returned and then passed through window.JSON.parse(), and it didn't like the chr(2) prepended to strings. chr(12) it seems to be happy with though.... read more »
-
Looping Over Java Arrays In ColdFusion
Posted on Aug 27, 2013 at 9:50 AM
The CF10 code doesn't run in Railo either because "No matching Method/Function for getBytes()". Aint CFLive great :-)... read more »
-
Uploading Files To Amazon S3 Using Plupload And ColdFusion
Posted on Aug 5, 2013 at 9:25 AM
@Ben, The target page has to handle the temporary storage and reassembly at the end, but there is example ColdFusion code. https://gist.github.com/jsteenkamp/1116037 via http://www.plupload.com/punbb/viewtopic.php?pid=7936#p7936... read more »
-
Uploading Files To Amazon S3 Using Plupload And ColdFusion
Posted on Aug 5, 2013 at 9:03 AM
@Ben, Well, that's why we chunk. If a 5 meg file takes 20 seconds, it's not going to take much longer in blocks of 128k or whatever, but you don't see a scary spike for average time in FusionReactor :-) Oh, and of course you've got upload feedback for chunked uploads in PLUpload too, which users ... read more »
-
Uploading Files To Amazon S3 Using Plupload And ColdFusion
Posted on Aug 2, 2013 at 4:22 AM
"BUT, you don't have to subject the ColdFusion server to *slow* client connections. That's huge! Let Amazon deal with keeping a connection open for 300 seconds... " PLUpload works in chunks, so uploading even the largest file isn't going to suck up a thread for 300 seconds solidly... And i... read more »
-
Uploading Files To Amazon S3 Using A Form Post And ColdFusion
Posted on Jul 29, 2013 at 9:32 AM
@Ben, Ahh, I missed the signing step. That's not so bad then.... read more »
-
Uploading Files To Amazon S3 Using A Form Post And ColdFusion
Posted on Jul 29, 2013 at 9:02 AM
Plus you are putting a lot of trust, and your AWS account ID, in the hands of a client, and trusting it to upload to the right place with the right policy. I'm not sure that is a good plan; if I edit the HTML page can I can do a public upload to the bucket and use your account as an anonymous image... read more »
-
Experimenting With The Amazon Simple Storage Service (S3) API Using ColdFusion
Posted on Jun 20, 2013 at 9:10 AM
@Joe, Yeah, exactly - you can test how you like, but maybe you just keep getting lucky :-) Tom... read more »
-
Experimenting With The Amazon Simple Storage Service (S3) API Using ColdFusion
Posted on Jun 20, 2013 at 8:57 AM
@Ben, read-after-write consistency means immediate visibility of new data to all clients. Amazon is less than perfectly transparent about some things. I dunno if it's just a docs issue, or that they keep updating the service and not the docs structure or what...... read more »
-
Experimenting With The Amazon Simple Storage Service (S3) API Using ColdFusion
Posted on Jun 20, 2013 at 6:56 AM
" Meaning, if I PUT an object into S3, can I (as the PUT executer) read that object from S3 immediately? " "It depends" : http://aws.amazon.com/s3/faqs/#What_data_consistency_model_does_Amazon_S3_employ "S3 buckets in the US West (Oregon), US West (Northern California), E... read more »
-
Ask Ben: Testing For ColdFusion Session Management
Posted on Sep 10, 2012 at 9:29 AM
To follow up my own ages ago comment above; isDefined('Session.foo') will throw (in CF9 anyway) The requested scope session has not been enabled.Before session variables can be used, the session state management system must be enabled using the cfapplication tag. if the Application.cfc sets ... read more »
-
Mapping CSS Sprite Image Coordinates With ColdFusion
Posted on Aug 9, 2012 at 4:21 AM
Did you look at any of the (Java) Computer Vision packages out there, that should be able to do shape extraction for you ? Many links at http://en.wikipedia.org/wiki/SURF... read more »