2ef1458833
The rack gem returns PATH_INFO as an ASCII-8BIT encoded string but it was being converted to US-ASCII by the match? method because it was calling Rack::Utils.escape_path. To prevent incompatibile encoding warnings use ASCII-8BIT strings for the root path and let Ruby handle any filename encoding conversion. Fixes #32294, Closes #32314. |
||
---|---|---|
.. | ||
bar | ||
foo | ||
gzip | ||
400.html | ||
404.html | ||
500.da.html | ||
500.html | ||
bar.html | ||
index.html | ||
other-index.html |