Skip to content

Commit

Permalink
note changed url matching in changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed May 19, 2011
1 parent f1f56be commit 206ee80
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGES
Expand Up @@ -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)

Expand Down

0 comments on commit 206ee80

Please sign in to comment.