For example, https://sourceforge.net/p/welcomesoft/home/ fails to redirect to https://sourceforge.net/p/welcomesoft/home/welcomesoft%20ERP%20for%20Joomla%2C%20Drupal%20and%20LAMP%20%E8%BF%8E%E6%96%B0ERP%E8%BB%9F%E4%BB%B6LAMP%E7%89%88%2C%20Joomla%E7%89%88%2C%20Drupal%E7%89%88/
Module forgewiki.wiki_main:242 in index << @expose() def index(self, **kw): redirect(c.app.root_page_name+'/') #Instantiate a Page object, and continue dispatch there >> redirect(c.app.root_page_name+'/') Module tg.controllers.util:108 in redirect << new_url = url(*args, **kwargs) found = HTTPFound(location=new_url).exception raise found >> found = HTTPFound(location=new_url).exception Module webob.exc:355 in __init__ << body_template=body_template) if location is not None: self.location = location if add_slash: raise TypeError( >> self.location = location Module webob.descriptors:111 in __set__ << if isinstance(value, unicode): # This is the standard encoding for headers: value = value.encode('ISO-8859-1') obj.headers[self.header] = value >> value = value.encode('ISO-8859-1') UnicodeEncodeError: 'latin-1' codec can't encode characters in position 44-45: ordinal not in range(256)
Fix is on allura js/2425. To test, make sure a page with unicode in the name can be created through the Create Page pop-up in the left nav. Once the page is created, make sure that it functions normally. Set this page as the wiki home and make sure you are redirected correctly if you go to the tool in the nav.
Looks good, merged to dev.