mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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 | ||
bar.html | ||
index.html | ||
other-index.html |