Vulcan does not have a web server running, so we have to do this by hand. The idea is to write two parser functions, one that turns url encoded data into readable name/value pairs, and one that turns sane text into html escaped output.
The most common are :
<>&"
These become :
<>&"
You can use an iso form which &#dd done with decimal numbers, or Ý done with hex numbers. So the "\" can be done as \ or \.
We are going to want spaces done as so they are non-breaking.
So if the html form input was "foo=test+this+%26" the data is really "foo=test this &", and the html output is
foo=test test &<br>
shell script to pass data to the program
driver code to get the data
here is some sample output
test form
This form when submitted outputs the encodeds data as plain text.
All I did was take the driver and change the Content-type to text/plain
then output the string "input_data". Note that it also does both post
and get correctly.
This program is due on April 23rd.