urlencoded forms data is now workng as well.
This commit is contained in:
1 parent
c90c7353c7
commit
a9ce087939
8 files changed
+61
-11
No files matched your search
File renamed without changes.
@@ -0,0 +1 @@
|
||||
name=1+test&name=2+%26test&name=3+%2B+test&name=4+*test&name=5&name2=6
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
export REQUEST_METHOD=POST
|
||||
export CONTENT_LENGTH=200
|
||||
export CONTENT_TYPE=multipart/form-data
|
||||
cat post.example | ./testpost.jet
|
||||
export CONTENT_TYPE=application/x-www-form-urlencoded
|
||||
cat post.example.urlencoded | ./testpost.jet
|
||||
@@ -1,6 +1,11 @@
|
||||
#!../jet-2.0
|
||||
<jet cgi="true">
|
||||
$[:name]
|
||||
$[:name:1]
|
||||
$[:name:2]
|
||||
$[:name:3]
|
||||
$[:name2]
|
||||
$[:name:2;tohex]
|
||||
$[:name:3;tohex]
|
||||
$[:name2;tohex]
|
||||
</jet>
|
||||
Reference in new issue
Block a user