OpenTermsArchive/engine

PDF url not ending with `.pdf` will break schema validation

martinratinaud opened this issue · 1 comments

I had to bypass this by adding a weird ?.pdf at the end of the file on this https://github.com/OpenTermsArchive/p2b-compliance-declarations/pull/75/files

A potential solution would be to make a HEAD axios request during the validation process

Thanks for creating an issue! I'm quite sure we already encountered this problem (in France maybe?), but I can't find a trace of it.