Mat-O-Lab / TablesToCSV

Aims to convert tables in pds or Excel Spreedsheets to a uniform CSV format
0 stars 0 forks source link

PDFtoCSV does not give back an error if the URL is not valid #16

Open BenjaminKroe opened 2 years ago

rfechner commented 2 years ago

Okay this one is a bit tricky.

Invalid urls now produce an error specifying the type of error that occured.

For now, anything that gives us a resonse 200 and is of fileending .pdf is considered a valid pdf file. If the file is not a valid pdf after all, the program simply throws at some point in converting. This may invite some malicious behaviour. :(