Lucee CFHTTP post encoding ?

61 views
Skip to first unread message

Jean Moniatte

unread,
Jul 26, 2016, 3:24:31 AM7/26/16
to lu...@googlegroups.com
Hi,

I am having an issue where Lucee base64 encodes the body of cfhttp posts as soon as they contains non ascii characters.

Everything works as expected when the post body contains only ASCII characters:

As soon as the body contains non ascii characters (I added a é in there), it looks like Lucee base64 encodes the body:

I am running Lucee5 on Debian and can reproduce this issue on a number of services we post to.

Is there a way to instruct Lucee to not encode the body of the posts?

Thanks,
Jean

Jean Moniatte

unread,
Jul 26, 2016, 3:31:58 AM7/26/16
to lu...@googlegroups.com
I got the URLs mixed up, sorry.

Works:

Does not work:

Using the cfhttp charset attribute (with a value of utf-8) leads to the same results.

Thanks,
Jean

Harry Klein

unread,
Jul 26, 2016, 3:39:20 AM7/26/16
to lu...@googlegroups.com

I am not sure if my issue was related:

https://luceeserver.atlassian.net/browse/LDEV-931

 

Was fixed in release 5.0.1.29, see

http://preview.lucee.org/download/?type=snapshots

 

-Harry

--
Get 10% off of the regular price for this years CFCamp in Munich, Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-2016/discount/Lucee@cfcamp
---
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG-7QUt-KW7LQEZKssEbyTWszpufu-_294WbWeiBZRcemAha%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Jean Moniatte

unread,
Jul 27, 2016, 1:45:55 AM7/27/16
to lu...@googlegroups.com
Thanks very much Harry for your input, adding the mimetype attribute to the cfhttpparam tag fixed my issue and save me a bunch of time !

Jean

Reply all
Reply to author
Forward
0 new messages