Skip to content

Commit

Permalink
Merge pull request openedx#847 from MITx/feature/rocha/openid-djangos…
Browse files Browse the repository at this point in the history
…tore

Fix openid provider URL matching for usernames with non-word characters
  • Loading branch information
David Ormsbee committed Oct 11, 2012
2 parents 0f2c22d + edeefdc commit 9e13447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
if settings.MITX_FEATURES.get('AUTH_USE_OPENID_PROVIDER'):
urlpatterns += (
url(r'^openid/provider/login/$', 'external_auth.views.provider_login', name='openid-provider-login'),
url(r'^openid/provider/login/(?:[\w%\. ]+)$', 'external_auth.views.provider_identity', name='openid-provider-login-identity'),
url(r'^openid/provider/login/(?:.+)$', 'external_auth.views.provider_identity', name='openid-provider-login-identity'),
url(r'^openid/provider/identity/$', 'external_auth.views.provider_identity', name='openid-provider-identity'),
url(r'^openid/provider/xrds/$', 'external_auth.views.provider_xrds', name='openid-provider-xrds')
)
Expand Down

0 comments on commit 9e13447

Please sign in to comment.