Hi,

I discovered, that double slashes get through my regular expressions.
Is it possible to reject URLs with double slashes?

http://.../...//test// (double slash before and after "test")

project urls.py
{{{
 urlpatterns = patterns('',
   # MyApp
    (r'^', include('myapp.urls')),
}}}

myapp.urls
{{{
urlpatterns = patterns('',
  (r'^test/$', 'modwork.views.test.index'),
}}}


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to