1 users online. Create an account or sign in to join them.Users

Search

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 951

As you can see, values for error and size are integers and XSS filter fails if value is of type int.

How do you bypass this issue?

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.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details