mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
note changed url matching in changes
This commit is contained in:
parent
f1f56bef7e
commit
206ee80caf
1 changed files with 9 additions and 0 deletions
9
CHANGES
9
CHANGES
|
@ -10,6 +10,15 @@
|
|||
explicitly to prevent that behavior. (Magnus Holm, Ryan Tomayko, Konstantin
|
||||
Haase)
|
||||
|
||||
* Patterns now match against the escaped URLs rather than the unescaped
|
||||
version. This makes Sinatra confirm with RFC 2396 section 2.2 and RFC 2616
|
||||
section 3.2.3 (escaped reserved characters should not be treated like the
|
||||
unescaped version), meaning that "/:name" will also match `/foo%2Fbar`, but
|
||||
not `/foo/bar`. To avoid incompatibility, pattern matching has been adjusted.
|
||||
Moreover, since we do no longer need to keep an unescaped version of
|
||||
path_info around, we handle all changes to `env['PATH_INFO']` correctly.
|
||||
(Konstantin Haase)
|
||||
|
||||
* `settings.app_file` now defaults to the file subclassing `Sinatra::Base` in
|
||||
modular applications. (Konstantin Haase)
|
||||
|
||||
|
|
Loading…
Reference in a new issue