Hi,
I noticed an issue when deploying a site for a school. We have uppercased some files and after deployment I noticed they are lowercased.
Although it’s not consistent, some files are not found, some are. For now I will change that the casing of certain files will be lowercased, but it’s really problematic to have inconsistent behaviour.
Thanks @nathanmartin for quick reply. In this case it actually happened that urlifying the space + some slovenian letters breaks, because it seems nextjs and your behaviour is not in sync. Do you have some knowledge of this issue? Otherwise I will just remove all special characters.
@themre It’s not my behavior, as I don’t work for Netlify.
What do you mean by ‘urlifying’?
What is the…
Filename of the PDF and its location in your output files?
(When running your build locally, without any Netlify processing)
Filename of the PDF and its location after Netlify’s processing?
(Both the links in your original post are the same, and neither result in the PDF file for me)
@nathanmartin
Sorry for late reply, was away few days. with urlifying I meant encoding URL with special characters. I leave my files in public folder which nextjs doesn’t process and they are intact. So in my example the file is: /docs/VLOGA ZA PREPIS NA OŠ IVANA ROBA ŠEMEPTER PRI GORICI.pdf.
But when I do a deployment, I see /docs/vloga za prepis na oš ivana roba šemepter pri gorici.pdf
Is this now some limitation to have all assets lowercased? Although sometimes it works also with uppercase and sometimes not. Really confusing.
Thanks for the detailed answer and all the help, will need to remember these limitations. Interestingly the only issue are special characters like š, č, ž and uppercase ones and those are it seems an issue when doing redirect to uppercased file. Will close the ticket.