<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1431: Captcha field - foreign chars cause exception</title>
    <link>http://localhost/ticket/1431</link>
    <description>&lt;p&gt;
During registering a user, the user inputs foreign chars into the captcha field.
&lt;/p&gt;
&lt;pre class="wiki"&gt;URL: http://thedatahub.org/user/register
...
Module ckan.lib.captcha:22 in check_recaptcha
&amp;lt;&amp;lt;                                     remoteip=client_ip_address,
                                          challenge=recaptcha_challenge_field,
                                          response=recaptcha_response_field))
           f = urllib2.urlopen(recaptcha_server_name, params)
           data = f.read()
&amp;gt;&amp;gt;  response=recaptcha_response_field))
Module urllib:1267 in urlencode
&amp;lt;&amp;lt;          for k, v in query:
                   k = quote_plus(str(k))
                   v = quote_plus(str(v))
                   l.append(k + '=' + v)
           else:
&amp;gt;&amp;gt;  v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xea' in position 0: ordinal not in range(128)
&lt;/pre&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1431</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Mon, 31 Oct 2011 18:01:44 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1431#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1431#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Fixed in cset:711a68a12d90 for release 1.5.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>