The following commit has been merged in the master branch:
commit 27bac1d770ebbc09ef2501dd2b18bc8931417cea
Author: Michal Čihař <[email protected]>
Date:   Mon Nov 7 09:57:59 2011 +0100

    Handle another style of broken links

diff --git a/urls.py b/urls.py
index e43321b..f3f8b5f 100644
--- a/urls.py
+++ b/urls.py
@@ -223,6 +223,7 @@ urlpatterns = patterns('',
 
     # Broken links
     (r'^(?P<link>.*)/\)\.$', 'django.views.generic.simple.redirect_to', 
{'url': '/%(link)s'}),
+    (r'^(?P<link>.*)/\)$', 'django.views.generic.simple.redirect_to', {'url': 
'/%(link)s'}),
     (r'^(?P<link>.*)/\)index\.php$', 
'django.views.generic.simple.redirect_to', {'url': '/%(link)s'}),
     (r'^(?P<link>phones/(?P<vendorname>[^/]*)/(?P<id>[0-9]*)/),.*', 
'django.views.generic.simple.redirect_to', {'url': '/%(link)s'}),
     (r'^snapshot/$', 'django.views.generic.simple.redirect_to', {'url': 
'/download/'}),

-- 
UNNAMED PROJECT

_______________________________________________
Wammu-svn mailing list
[email protected]
https://lists.cihar.com/cgi-bin/mailman/listinfo/wammu-svn

Reply via email to