engine icon indicating copy to clipboard operation
engine copied to clipboard

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

Open martinratinaud opened this issue 2 years ago • 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

martinratinaud avatar Aug 16 '22 10:08 martinratinaud

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.

MattiSG avatar Aug 17 '22 18:08 MattiSG