In short:
<form method="post" action="">
<textarea name="foo">bar</textarea>
</form>
I want to POST value of foo
as base64 encoded (without using ajax to save time).
In detail:
- I have a interface where people can fire SQL SELECT queries to get the simple reports.
- Network(Company firewall) filters the POST request considering it as SQL Injection.
- One solution I can think of is to encode the data and then make the POST request. Then decode on server side.
- Any way to not use ajax solution? That will help me avoid the refactoring of the code.