I need to override the default filename sanitization options (https://github.com/payloadcms/payload/blob/main/packages/payload/src/uploads/getSafeFilename.ts#L10) to preserve asset URL structure for a big migration I'm doing...tomorrow. I didn't realize til just now that the filename value passed to generateFileURL is already pre-sanitized.
I'm guessing the fastest way to get this to work the way I want would be to fork the repo and make the modifications myself...any tips? 😅