View Issue Details

IDProjectCategoryView StatusLast Update
0000135fileGeneralpublic2020-08-23 19:31
Reporterjj05 Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version5.38 
Summary0000135: Misdetection text/troff instead of text/plain for MT940 files
DescriptionThis isn't a troff file, so shouldn't be detected as one
Steps To Reproduce$ file mt940-troff-bug.txt
mt940-troff-bug.txt: troff or preprocessor input, UTF-8 Unicode (with BOM) text, with CRLF, LF line terminators
TagsNo tags attached.

Activities

jj05

2020-01-30 18:17

reporter  

mt940-troff-bug.txt (639 bytes)   
:20:TELEWIZORY S.A.
:25:PL25106000760000888888888888^M
:28C:00008
:60F:C031002PLN40000,00^M
:61:200128D4000,NTRFNONREF//NONREF
:86:PO DOGOVORU № OT 18/12/2012. "KOMISSIa ZA USLUGU PO  P. 
3.2.2.4 TARIFOV BANKA". DOKUMENT 'N'17 OT 28/01/2020 NA SUMMU 154
.50 ('EUR'  NDS NE OBLAGAETSa
:61:200128C245,5NTRFNONREF//NONREF
:86:PEREcISLENIE PO DOGOVORU S TSP 9291763852.KOMISSIa BANKA 4.50.NDS
 NE OBLAGAETSa.SUMMA OPERACIi 'MIR'250.00
:61:200128C632,9NTRFNONREF//NONREF
:86:PEREcISLENIE PO DOGOVORU S TSP 9291763860.KOMISSIa BANKA 17.10.ND
NDS NE OBLAGAETSa.SUMMA OPERACIi 'VISA'46220.00
:61:200128C65477,1NTRFNONREF//NONREF
mt940-troff-bug.txt (639 bytes)   

jj05

2020-01-30 18:20

reporter   ~0003349

More information about MT940 format: http://martin.hinner.info/bankconvert/swift_mt940_942.pdf

christos

2020-02-12 22:25

manager   ~0003352

Restricted troff not to match .[0-9]

jj05

2020-05-12 11:53

reporter   ~0003405

This is available to test?

christos

2020-08-23 19:31

manager   ~0003457

The fix should be available on HEAD

Issue History

Date Modified Username Field Change
2020-01-30 18:17 jj05 New Issue
2020-01-30 18:17 jj05 File Added: mt940-troff-bug.txt
2020-01-30 18:20 jj05 Note Added: 0003349
2020-02-12 22:25 christos Assigned To => christos
2020-02-12 22:25 christos Status new => assigned
2020-02-12 22:25 christos Status assigned => feedback
2020-02-12 22:25 christos Note Added: 0003352
2020-05-12 11:53 jj05 Note Added: 0003405
2020-05-12 11:53 jj05 Status feedback => assigned
2020-08-23 19:31 christos Status assigned => feedback
2020-08-23 19:31 christos Note Added: 0003457