I have a date string like this     2010-07-29T20:45:33.517Z    that I am
trying to submit to Amazon's web service.

 

It needs to be URL Encoded, so I am submitting with this code:

<cfhttpparam type="URL" name="Timestamp" value='#Timestamp#'>

 

Coldfusion 8 encodes this to:   2010%2D07%2D29T20%3A45%3A33%2E517Z

 

But when I submit the same string via
http://www.w3schools.com/TAGS/ref_urlencode.asp  I sends back
2010-07-29T20%3A45%3A33.517Z

 

So ColdFusion is encoding the "." and the "-", but W3C isn't. These are
actually both valid in a URL. Of course, both correct encode the ":".

 

I wouldn't care except the Amazon web service is throwing an error saying I
need to use a valid ISO 8601 date.

 

Has anyone run into a problem like this before? Is there a trick?

 

Thank,

 

   Clarke

 

 

Office: 770-642-1353
eMail: cbis...@resultantsys.com

 




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to