bborn/communityengine — Issue #35: The application crashes when you enter in the fields 'tags' characters other than US-ASCII
Author: xsanet
Created: 2011-11-30 09:56:04+00:00
State: open

For blog:
Rendered vendor/cache/ruby/1.9.1/gems/community_engine-2.0.0.beta2/app/views/posts/show.html.haml within layouts/application (67.5ms)
Completed 500 Internal Server Error in 225ms

ActionView::Template::Error (invalid byte sequence in US-ASCII):
Extracted source (around line #52):
49: - unless @post.tags.empty?
50: %ul.tags
51: - @post.tags.each do |t|
52: %li=link_to( t.name, tag_url(t), :rel => 'tag')
53: / entry-content
54: / ends hentry
55: -box :class => 'hfeed comments', :id => 'comments' do

For forum:
Rendered vendor/cache/ruby/1.9.1/gems/community_engine-2.0.0.beta2/app/views/shared/_footer_content.html.haml (252.4ms)
Completed 500 Internal Server Error in 423ms

ActionView::Template::Error (invalid byte sequence in US-ASCII):
9: -box do
10: %h3=:tags.l
11: - tag_cloud @popular_tags, %w(nube1 nube2 nube3 nube4 nube5) do |tag, css_class|
12: = link_to tag.name, tag_path(URI.escape(tag.name, /[\/.?#]/)), :class => css_class
13: %h6.all=link_to :all_tags.l, tags_path