Update viewimage.php

code may have rich content (qrcode, datamatrix,...)
This commit is contained in:
Frédéric FRANCE 2018-08-29 13:08:52 +02:00 committed by GitHub
parent 009424cd67
commit 24be0b7305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ if (preg_match('/\.\./',$fullpath_original_file) || preg_match('/[<>|]/',$fullpa
if ($modulepart == 'barcode')
{
$generator=GETPOST("generator","alpha");
$code=GETPOST("code",'alpha');
$code=GETPOST("code",'none');
$encoding=GETPOST("encoding","alpha");
$readable=GETPOST("readable",'alpha')?GETPOST("readable","alpha"):"Y";