Anti spam and accentuate letters when registering to the forum
Bug #892475 reported by
TREMEL François
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands Website |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When I'm registering to the forum, the anti spam system show me words with accent (letters like é, è,..).
This is not a problem for me as I'm French and my keyboard does have the accentuate letters. But when I registered a server error occur. I try couple of time with the same result. Then I request to change the words up to have words without accent and I finally achieve to register.
To post a comment you must log in.
Thanks for reporting. This is the traceback I got on the server:
Traceback (most recent call last):
File "/var/www/ django_ projects/ wlwebsite/ lib/python2. 6/site- packages/ django/ core/handlers/ base.py" , line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/www/ django_ projects/ wlwebsite/ code/widelands/ mainpage/ views.py" , line 30, in register
if form.is_valid():
File "/var/www/ django_ projects/ wlwebsite/ lib/python2. 6/site- packages/ django/ forms/forms. py", line 121, in is_valid
return self.is_bound and not bool(self.errors)
File "/var/www/ django_ projects/ wlwebsite/ lib/python2. 6/site- packages/ django/ forms/forms. py", line 112, in _get_errors full_clean( )
self.
File "/var/www/ django_ projects/ wlwebsite/ lib/python2. 6/site- packages/ django/ forms/forms. py", line 267, in full_clean _clean_ fields( )
self.
File "/var/www/ django_ projects/ wlwebsite/ lib/python2. 6/site- packages/ django/ forms/forms. py", line 284, in _clean_fields
value = field.clean(value)
File "/var/www/ django_ projects/ wlwebsite/ code/widelands/ wlrecaptcha/ forms.py" , line 76, in clean recaptcha( self.remote_ ip, challenge, response)
value = validate_
File "/var/www/ django_ projects/ wlwebsite/ code/widelands/ wlrecaptcha/ forms.py" , line 111, in validate_recaptcha response) )
response=
File "/usr/lib/ python2. 6/urllib. py", line 1267, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 7: ordinal not in range(128)