Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

the lack of two brackets around the path match meant that it was matc…

…hing things like /news/ so this will require a new version release as it's that important.
  • Loading branch information...
commit 9278229eb9454b11fc79d975e1433145e684bf53 1 parent 1214df3
@parndt parndt authored
View
5 changelog.md
@@ -1,3 +1,8 @@
+## 0.9.7.4 [07 July 2010]
+
+- Fixed critical issue in the i18n routing pattern that was matching prefixes like /news/ as a locale incorrectly. [Philip Arndt]
+- [See full list](http://github.com/resolve/refinerycms/compare/0.9.7.3...0.9.7.4)
+
## 0.9.7.3 [07 July 2010]
- Falls back to default locale when a translation key can not be located in the current locale, only in production mode. [Philip Arndt]
View
2  refinerycms.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{refinerycms}
- s.version = %q{0.9.7.3}
+ s.version = %q{0.9.7.4}
s.description = %q{A beautiful open source Ruby on Rails content manager for small business. Easy to extend, easy to use, lightweight and all wrapped up in a super slick UI.}
s.date = %q{2010-07-07}
s.summary = %q{A beautiful open source Ruby on Rails content manager for small business.}
View
2  vendor/plugins/i18n/lib/i18n_filter.rb
@@ -4,7 +4,7 @@ class Locale < Base
def around_recognize(path, env, &block)
if ::Refinery::I18n.enabled?
locale = nil
- if path =~ %r{^\/#{::Refinery::I18n.locales.keys.join('|')}\/}
+ if path =~ %r{^/(#{::Refinery::I18n.locales.keys.join('|')})/}
if path !~ %r{^/(sessions?|admin|refinery|wymiframe)}
path.sub! %r(^/(([a-zA-Z\-_])*)(?=/|$)) do
locale = $1
View
2  vendor/plugins/refinery/lib/refinery.rb
@@ -27,7 +27,7 @@ class Version
MAJOR = 0
MINOR = 9
TINY = 7
- BUILD = 3
+ BUILD = 4
STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
Please sign in to comment.
Something went wrong with that request. Please try again.