<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 class MephistoController &lt; ApplicationController
   layout nil
-  session :new_session =&gt; false
+  session :off
   caches_page_with_references :dispatch
   cache_sweeper :comment_sweeper
 
@@ -95,7 +95,7 @@ class MephistoController &lt; ApplicationController
       render_liquid_template_for(:search, 'articles'      =&gt; @articles,
                                           'previous_page' =&gt; paged_search_url_for(@article_pages.current.previous),
                                           'next_page'     =&gt; paged_search_url_for(@article_pages.current.next),
-                                          'search_string' =&gt; params[:q],
+                                          'search_string' =&gt; CGI::escapeHTML(params[:q]),
                                           'search_count'  =&gt; search_count,
                                           'section'       =&gt; @section)
       @skip_caching = true</diff>
      <filename>app/controllers/mephisto_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@ class UserMailer &lt; ActionMailer::Base
   def forgot_password(user)
     setup_email(user)
     @subject += 'Request to change your password'
-    @body[:url]  = url_for :controller =&gt; :account, :action =&gt; :activate, :id =&gt; user.token
+    @body[:url]  = url_for :controller =&gt; 'account', :action =&gt; 'activate', :id =&gt; user.token
   end
 
   protected</diff>
      <filename>app/models/user_mailer.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 &lt;div class=&quot;little-box&quot;&gt;
-&lt;% form_tag({:controller=&gt;:account, :action=&gt;:login}, { :id =&gt; 'login_form' }) do -%&gt;
+&lt;% form_tag({:controller=&gt;'account', :action=&gt;'account'}, { :id =&gt; 'login_form' }) do -%&gt;
   &lt;dl&gt;
     &lt;dt&gt;&lt;%= label_tag 'login', 'Login' %&gt;&lt;/dt&gt;
     &lt;dd&gt;&lt;%= text_field_tag 'login', params[:login], :class =&gt; 'big' %&gt;&lt;/dd&gt;</diff>
      <filename>app/views/account/login.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,7 @@
       &lt;div id=&quot;optgroup&quot; style=&quot;display: none&quot;&gt;
         &lt;ul id=&quot;options&quot;&gt;
         &lt;% unless @article.new_record? -%&gt;
-          &lt;li&gt;&lt;%= link_to 'Edit this article', :action =&gt; :edit, :id =&gt; @article, :version =&gt; nil %&gt;&lt;/li&gt;
+          &lt;li&gt;&lt;%= link_to 'Edit this article', :action =&gt; 'edit', :id =&gt; @article, :version =&gt; nil %&gt;&lt;/li&gt;
         &lt;% end -%&gt;
         &lt;% if @article.comments.any? &amp;&amp; controller.action_name != 'comments' -%&gt;
           &lt;li&gt;&lt;%= link_to &quot;View comments&quot;, :controller =&gt; 'articles', :action =&gt; 'comments', :id =&gt; @article %&gt;&lt;/li&gt;</diff>
      <filename>app/views/admin/articles/_page_nav.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -58,7 +58,7 @@
 &lt;!-- begin pagination --&gt;
 &lt;div id=&quot;pagination&quot;&gt;
 &lt;% if @article_pages.page_count &gt; 1 -%&gt;
-Pages: &lt;strong&gt;&lt;%= pagination_links @article_pages, :params =&gt; { :action =&gt; :index } %&gt;&lt;/strong&gt;
+Pages: &lt;strong&gt;&lt;%= pagination_links @article_pages, :params =&gt; { :action =&gt; 'index' } %&gt;&lt;/strong&gt;
 &lt;% end -%&gt;
 &lt;/div&gt;
 &lt;!-- /end pagination --&gt;</diff>
      <filename>app/views/admin/articles/index.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -29,6 +29,6 @@
 
 &lt;% if @asset_pages.page_count &gt; 1 %&gt;
   &lt;div id=&quot;pagination&quot;&gt;
-    Pages: &lt;strong&gt;&lt;%= pagination_remote_links @asset_pages, :params =&gt; { :action =&gt; :index } %&gt;&lt;/strong&gt;
+    Pages: &lt;strong&gt;&lt;%= pagination_remote_links @asset_pages, :params =&gt; { :action =&gt; 'index' } %&gt;&lt;/strong&gt;
   &lt;/div&gt;
 &lt;% end %&gt;
\ No newline at end of file</diff>
      <filename>app/views/admin/assets/_assets.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 &lt;!-- begin cached pages list --&gt;
 &lt;div class=&quot;pages&quot;&gt;
 &lt;% if @cached_page_pages.page_count &gt; 1 %&gt;
-Pages: &lt;strong&gt;&lt;%= pagination_remote_links @cached_page_pages, :params =&gt; { :action =&gt; :index } %&gt;&lt;/strong&gt;
+Pages: &lt;strong&gt;&lt;%= pagination_remote_links @cached_page_pages, :params =&gt; { :action =&gt; 'index' } %&gt;&lt;/strong&gt;
 &lt;% end %&gt;
 &lt;/div&gt;
 &lt;h2&gt;Cached Pages&lt;/h2&gt;&lt;br/&gt;
@@ -28,7 +28,7 @@ Pages: &lt;strong&gt;&lt;%= pagination_remote_links @cached_page_pages, :params =&gt; { :act
 &lt;!-- begin pagination --&gt;
 &lt;div id=&quot;pagination&quot;&gt;
 &lt;% if @cached_page_pages.page_count &gt; 1 %&gt;
-Pages: &lt;strong&gt;&lt;%= pagination_links @cached_page_pages, :params =&gt; { :action =&gt; :index } %&gt;&lt;/strong&gt;
+Pages: &lt;strong&gt;&lt;%= pagination_links @cached_page_pages, :params =&gt; { :action =&gt; 'index' } %&gt;&lt;/strong&gt;
 &lt;% end %&gt;
 &lt;/div&gt;
 &lt;!-- /end pagination --&gt;
\ No newline at end of file</diff>
      <filename>app/views/admin/cached_pages/pages.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -16,7 +16,7 @@
 &lt;ul class=&quot;pagelist commentlist&quot;&gt;
   &lt;% @comments.reverse.each_with_index do |comment, i| -%&gt;
   &lt;li class=&quot;event-comment&lt;%= &quot; shade&quot; if (i % 2 &gt; 0) %&gt;&quot; id=&quot;comment-&lt;%= comment.id %&gt;&quot;&gt;
-    &lt;h3&gt;&lt;a name=&quot;comment-&lt;%= comment.id %&gt;&quot;&gt;&lt;/a&gt; &lt;%= link_to comment.article.title, :controller =&gt; 'articles', :action =&gt; :edit, :id =&gt; comment.article %&gt;&lt;/h3&gt;
+    &lt;h3&gt;&lt;a name=&quot;comment-&lt;%= comment.id %&gt;&quot;&gt;&lt;/a&gt; &lt;%= link_to comment.article.title, :controller =&gt; 'articles', :action =&gt; 'edit', :id =&gt; comment.article %&gt;&lt;/h3&gt;
     &lt;blockquote&gt;&lt;p&gt;&quot;&lt;%= truncate strip_tags(comment.body), 255 %&gt;&quot;&lt;/p&gt;&lt;/blockquote&gt;
     &lt;span class=&quot;meta&quot;&gt;
       &lt;cite&gt;&amp;mdash; &lt;%= author_link_for comment %&gt;&lt;%= %( (#{comment.author_email})) unless comment.author_email.blank? %&gt;&lt;/cite&gt;</diff>
      <filename>app/views/admin/comments/index.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 &lt;tr class=&quot;published&quot; &gt;
   &lt;td class=&quot;published&quot;&gt;
 	&lt;% if plugin.configurable? -%&gt;
-		&lt;%= link_to plugin.path, :action =&gt; :show, :id =&gt; plugin.path %&gt;
+		&lt;%= link_to plugin.path, :action =&gt; 'show', :id =&gt; plugin.path %&gt;
 	&lt;% else -%&gt;
 		&lt;%=h plugin.path %&gt;
 	&lt;% end -%&gt;</diff>
      <filename>app/views/admin/plugins/_plugin.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -23,17 +23,17 @@
 &lt;div id=&quot;page-nav&quot;&gt;
   &lt;ul id=&quot;act-nav&quot; class=&quot;clear&quot;&gt;
 	&lt;li&gt;
- 	 	&lt;%= link_to 'Restore Defaults', :action =&gt; :destroy, :id =&gt; @plugin.plugin_name %&gt;
+ 	 	&lt;%= link_to 'Restore Defaults', :action =&gt; 'destroy', :id =&gt; @plugin.plugin_name %&gt;
 	&lt;/li&gt;
 	&lt;li&gt;
- 	 	&lt;%= link_to 'Index', :action =&gt; :index %&gt;
+ 	 	&lt;%= link_to 'Index', :action =&gt; 'index' %&gt;
 	&lt;/li&gt;
   &lt;/ul&gt;
 &lt;/div&gt;
 &lt;% end %&gt;
 
 &lt;% content_for :form  do -%&gt;
-	&lt;%= form_tag({:action =&gt; :update, :id =&gt; @plugin.plugin_name}, {:id =&gt; 'plugin-config-form'}) %&gt;
+	&lt;%= form_tag({:action =&gt; 'update', :id =&gt; @plugin.plugin_name}, {:id =&gt; 'plugin-config-form'}) %&gt;
 &lt;% end -%&gt;
 
 &lt;% if @plugin.default_options.any? -%&gt;</diff>
      <filename>app/views/admin/plugins/show.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,7 @@ class UserMailerTest &lt; Test::Unit::TestCase
     user = users(:quentin)
     response = UserMailer.deliver_forgot_password(user)
     assert_equal user.email, response.to[0]
-    assert_match /#{url_for :controller =&gt; :account, :action =&gt; :activate, :id =&gt; user.token}/, response.body
+    assert_match /#{url_for :controller =&gt; 'account', :action =&gt; 'activate', :id =&gt; user.token}/, response.body
   end
 
   private</diff>
      <filename>test/unit/user_mailer_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>15fdd8615cec1aeca1b42d70baf83a4306c2f230</id>
    </parent>
  </parents>
  <author>
    <name>technoweenie</name>
    <email>technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78</email>
  </author>
  <url>http://github.com/francois/mephisto/commit/128718e5c318b2aa0fab360996feab80ad799a40</url>
  <id>128718e5c318b2aa0fab360996feab80ad799a40</id>
  <committed-date>2007-03-10T23:48:46-08:00</committed-date>
  <authored-date>2007-03-10T23:48:46-08:00</authored-date>
  <message>fix url_for calls with symbolized controllers/actions.

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2797 567b1171-46fb-0310-a4c9-b4bef9110e78</message>
  <tree>8e996df7947f5e2a31dfc650821dfe51691f7400</tree>
  <committer>
    <name>technoweenie</name>
    <email>technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78</email>
  </committer>
</commit>
