Forum Discussion

Peter_Lowdon's avatar
Peter_Lowdon
Icon for Altocumulus rankAltocumulus
Aug 11, 2022

HTTP::payload collection mangling UTF-8 characters

hi f5'ers,

The HTTP::payload command doesn' seem to ba able to handle UTF-8 encoded characters.  When I capture the HTTP payload into a variable and then manipulate it and update the HTTP payload before sending the request into our application names any unicode characters are being mangled, so "Héro" becomes "Héro".

I've tried creating a simple HTTP virtual server with an iRule that just logs the HTTP payload in /var/log/ltm and I can see its not our application that is causing the issue, it appears to be the HTTP::payload feature.

I saw an article about using binary scan to fix a similar issue but when I tried it it didn't make any difference at all.

Help me f5'ers, you're my only hope!