From 206ee80caf46517a11bc175143b78e0f7717cb1a Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Thu, 19 May 2011 08:17:04 +0200 Subject: [PATCH] note changed url matching in changes --- CHANGES | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGES b/CHANGES index 80dc346f..95b3ff50 100644 --- a/CHANGES +++ b/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)