Perry_Ler_71437
Mar 16, 2010Nimbostratus
irule for file type checking
Hi
Anyone can point in the direction to look at? I need an iRule to check the file type that is uploaded through a html form page.
There is HTTP::uri for the action GET but I cannot find anything for action POST.
I read that you have to use the HTTP::collect to look at the payload but within the payload, I still cannot get anything. Even a regex to search for executable is not successful. Anyone here manage to do up an irule that can do that?
I know, this is so much easier to be done on the form page using js or whatever server-side language that the form is written in. Let say I cannot go in that direct.
Thanks in advance.