Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: refinery/refinerycms
...
head fork: refinery/refinerycms
  • 1 commit
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Commits on Jul 07, 2010
@parndt parndt 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.
9278229
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('.')

No commit comments for this range

Something went wrong with that request. Please try again.