mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
897cdc721e
`OptimizedFileSystemResolver` builds a regular expression to match view template paths. Prior to this patch, only file globbing special characters were escaped when building this regular expression, leaving other regular expression special characters unescaped. This patch properly escapes all regular expression special characters, and adds test coverage for paths that include these characters. Fixes #37107. |
||
---|---|---|
.. | ||
handlers | ||
sources | ||
error.rb | ||
handlers.rb | ||
html.rb | ||
inline.rb | ||
raw_file.rb | ||
resolver.rb | ||
sources.rb | ||
text.rb | ||
types.rb |