File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2151,7 +2151,11 @@ bool ClientRequestDispatcher::handlePostRequest(const RequestDetails& requestDet
2151
2151
if (strcasecmp (pdfVer.c_str (), " PDF/A-1b" ) &&
2152
2152
strcasecmp (pdfVer.c_str (), " PDF/A-2b" ) &&
2153
2153
strcasecmp (pdfVer.c_str (), " PDF/A-3b" ) &&
2154
- strcasecmp (pdfVer.c_str (), " PDF-1.5" ) && strcasecmp (pdfVer.c_str (), " PDF-1.6" ))
2154
+ strcasecmp (pdfVer.c_str (), " PDF/A-4" ) &&
2155
+ strcasecmp (pdfVer.c_str (), " PDF-1.5" ) &&
2156
+ strcasecmp (pdfVer.c_str (), " PDF-1.6" ) &&
2157
+ strcasecmp (pdfVer.c_str (), " PDF-1.7" ) &&
2158
+ strcasecmp (pdfVer.c_str (), " PDF-2.0" ))
2155
2159
{
2156
2160
LOG_ERR (" Wrong PDF type: " << pdfVer << " . Conversion aborted." );
2157
2161
http::Response httpResponse (http::StatusCode::BadRequest);
You can’t perform that action at this time.
0 commit comments