Hi,
I have tested the rule, the page flows through but i dont get the image that is posted in the form uploaded.
when HTTP_REQUEST {
Check if request is a POST
if {[HTTP::method] eq "POST"}{
Trigger collection for up to 1MB of data
if {([HTTP::header exists "Content-Length"]) && ([HTTP::header "Content-Length"] <= 1000000)}{
set content_length [HTTP::header "Content-Length"]
} else {
set content_length 1000000
}
if { info exists $content_length } {
HTTP::collect $content_length
}
}
}
when HTTP_REQUEST_DATA {
Replace https://... with http://... in the payload
HTTP::payload replace 0 [HTTP::payload length] [string map -nocase "https://10.104.30.55 http://10.104.30.55" [HTTP::payload]]
}