CSRF token encoded in Base64 gets escaped #2614
Replies: 2 comments
-
please provide small example - what is actually POSTED by the browser and maybe small html example of your form + js related to that. Without that it is hard to tell. |
Beta Was this translation helpful? Give feedback.
-
In NodeJS, I could set
Upon inspecting the cookies header in both Firefox and Microsoft Edge, they appear to be fine; however, submitting the form to Go app results in the == being escaped. Submitted and validated base64 on both form and cookie shown "==" on NodeJS, appear to be fine and not escaped. Nodejs on :3000 and Go on :8000 behind nginx reverse proxy. |
Beta Was this translation helpful? Give feedback.
-
I tried to manually generate base64, set on the
and cookie and submit POST form.and found = sign on the cookie is being escaped
But it's working fine when the CSRF token is set by Echo. I wonder which caused the issue?
Beta Was this translation helpful? Give feedback.
All reactions