Browse Source

web/jump/urls.py: modify regexp for jumper

Now user can juery /jump/foo.i2p/anything and it will not produce
"unknown hostname" error, instead user will be redirected to
http://foo.i2p?i2paddresshelper=key
pull/1/head
Hidden Z 14 years ago
parent
commit
d6f9f2ed99
  1. 2
      web/jump/urls.py

2
web/jump/urls.py

@ -3,6 +3,6 @@ from django.conf.urls.defaults import * @@ -3,6 +3,6 @@ from django.conf.urls.defaults import *
urlpatterns = patterns('web.jump.views',
(r'^error/', 'error'),
(r'^unknown/', 'unknown'),
(r'^(.+)', 'jumper'),
(r'^([^$/]+)', 'jumper'),
)

Loading…
Cancel
Save