Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Truncate $sourcefilename in qa_db_blob_create()

0 votes
asked Jan 30, 2016 in Q2A Core by q2apro
Just wanted to report that the source filename does not get truncated, but the database field is only 255 varchar.

There should be a substring.

I personally would filter the filename by regex so that only a-zA-z0-9 can pass (of course, we need to check that the filename is not empty afterwards and set a dummy).

Greetings :)
Q2A version: 1.7.2

Please log in or register to answer this question.