1 users online. Create an account or sign in to join them.Users
XSS filter and file uploads
This is an open discussion with 1 reply, filed under General.
Search
That's a bug. It's actually already in the issue tracker too so hopefully I/someone will get to it soon.
Create an account or sign in to comment.
It's the first time I put an upload field in a frontend form and if I have the XSS filter attached to my event, it fails on validation:
array 'name' => string 'sistem_v2.txt' (length=13) 'type' => string 'text/plain' (length=10) 'tmp_name' => string '[..]\tmp\php1A4.tmp' (length=53) 'error' => int 0 'size' => int 951As you can see, values for
errorandsizeare integers and XSS filter fails if value is of type int.How do you bypass this issue?