Fix URLs that weren't properly anchored
authorMagnus Hagander <magnus@hagander.net>
Fri, 25 May 2012 10:50:59 +0000 (12:50 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 25 May 2012 10:51:31 +0000 (12:51 +0200)
pgweb/urls.py

index 4cd8576acc79a92bba63427b9dc3f74c45e5097f..ef9f4a558e3ecc18a02847348c98eedfa75f25cc 100644 (file)
@@ -77,12 +77,12 @@ urlpatterns = patterns('',
     ###
     # Special sections
     ###
-    (r'account/', include('account.urls')),
+    (r'^account/', include('account.urls')),
 
        ###
        # Sitemap (FIXME: support for >50k urls!)
        ###
-       (r'sitemap.xml', 'pgweb.core.views.sitemap'),
+       (r'^sitemap.xml', 'pgweb.core.views.sitemap'),
 
     ###
     # Legacy URLs from the old website, that are likely to be used from other