bugfix accept /pdf/:pdfid