<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -316,7 +316,9 @@
             fallback($_GET['query'], &quot;&quot;);
             $config = Config::current();
 
-            if ($config-&gt;clean_urls and substr_count($_SERVER['REQUEST_URI'], &quot;?&quot;))
+            if ($config-&gt;clean_urls and
+                substr_count($_SERVER['REQUEST_URI'], &quot;?&quot;) and
+                !substr_count($_SERVER['REQUEST_URI'], &quot;%2F&quot;)) # Searches with / and clean URLs = server 404
                 redirect(&quot;search/&quot;.urlencode($_GET['query']).&quot;/&quot;);
 
             if (empty($_GET['query']))</diff>
      <filename>includes/controller/Main.php</filename>
    </modified>
    <modified>
      <diff>@@ -193,7 +193,7 @@ class Horde_Yaml_Dumper
     {
         // Don't do anything if wordwrap is set to 0
         if (! $this-&gt;_options['wordwrap']) {
-            return $value;
+            return (is_string($value) and !is_numeric($value) and !empty($value)) ? '&quot;'.$value.'&quot;' : $value ;
         }
 
         if (strlen($value) &gt; $this-&gt;_options['wordwrap']) {</diff>
      <filename>includes/lib/YAML/Dumper.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>86dea3a645805040ac1380a4666232ea7c2f465e</id>
    </parent>
  </parents>
  <author>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </author>
  <url>http://github.com/vito/chyrp/commit/2d34862cfd13d2e80e5071cbf182cfb56ac31cae</url>
  <id>2d34862cfd13d2e80e5071cbf182cfb56ac31cae</id>
  <committed-date>2008-11-01T14:24:20-07:00</committed-date>
  <authored-date>2008-11-01T14:24:20-07:00</authored-date>
  <message>* YAML dumper: If the value is a non-numeric non-empty string, wrap it in quotes.
* Searching for / with clean URLs leads to a server 404, so don't redirect to the clean URL for that.</message>
  <tree>b118093c7aee302fef888729d02548b3321247b9</tree>
  <committer>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </committer>
</commit>
