Check `request.path_parameters` encoding at the point they're set
#25816

greysteil wants to merge greysteil:check-path-param-encoding into rails:master

We do not currently have an analysis of these two commits