Express already decodes req.path; the extra decodeURIComponent re-decoded UTF-8 filenames and returned 404 for URL-encoded links (as used by the original site), so page CSS didn't load and buttons looked unstyled. Now all 41 pages + all CSS/assets serve 200 via encoded URLs; 0 404.
3.5 KiB
3.5 KiB