# blocking this, it was treated as a 200 OK for a react page view. # A side effect of this is it may cause a bad redirect when logging in # since this gets stored in session as the last viewed page. # See: https://github.com/getsentry/sentry/issues/2195 url(r'favicon\.ico$', lambda r: HttpResponse(status=404)), # crossdomain.xml url(r'^crossdomain\.xml$', api.crossdomain_xml_index, name='sentry-api-crossdomain-xml-index'), # plugins # XXX(dcramer): preferably we'd be able to use 'integrations' as the URL # prefix here, but unfortunately sentry.io has that mapped to marketing # assets for the time being url(r'^extensions/(?P<provider_id>[\w_-]+)/setup/$', IntegrationSetupView.as_view()), url(r'^extensions/cloudflare/', include('sentry.integrations.cloudflare.urls')), url(r'^extensions/slack/', include('sentry.integrations.slack.urls')), url(r'^plugins/', include('sentry.plugins.base.urls')), # Generic API url( r'^share/(?:group|issue)/(?P<share_id>[\w_-]+)/$', GenericReactPageView.as_view(auth_required=False), name='sentry-group-shared' ), # Keep named URL for for things using reverse url( r'^(?P<organization_slug>[\w_-]+)/issues/(?P<short_id>[\w_-]+)/$',
# A side effect of this is it may cause a bad redirect when logging in # since this gets stored in session as the last viewed page. # See: https://github.com/getsentry/sentry/issues/2195 url(r'favicon\.ico$', lambda r: HttpResponse(status=404)), # crossdomain.xml url(r'^crossdomain\.xml$', api.crossdomain_xml_index, name='sentry-api-crossdomain-xml-index'), # plugins # XXX(dcramer): preferably we'd be able to use 'integrations' as the URL # prefix here, but unfortunately sentry.io has that mapped to marketing # assets for the time being url( r'^extensions/(?P<provider_id>[\w_-]+)/setup/$', IntegrationSetupView.as_view(), name='sentry-integrations-setup' ), url(r'^extensions/cloudflare/', include('sentry.integrations.cloudflare.urls')), url(r'^extensions/jira/', include('sentry.integrations.jira.urls')), url(r'^extensions/slack/', include('sentry.integrations.slack.urls')), url(r'^extensions/github/', include('sentry.integrations.github.urls')), url(r'^extensions/vsts/', include('sentry.integrations.vsts.urls')), url(r'^extensions/bitbucket/', include('sentry.integrations.bitbucket.urls')), url(r'^plugins/', include('sentry.plugins.base.urls')), # Generic API url( r'^share/(?:group|issue)/(?P<share_id>[\w_-]+)/$', GenericReactPageView.as_view(auth_required=False),
# Force a 404 of favicon.ico. # This url is commonly requested by browsers, and without # blocking this, it was treated as a 200 OK for a react page view. # A side effect of this is it may cause a bad redirect when logging in # since this gets stored in session as the last viewed page. # See: https://github.com/getsentry/sentry/issues/2195 url(r'favicon\.ico$', lambda r: HttpResponse(status=404)), # crossdomain.xml url(r'^crossdomain\.xml$', api.crossdomain_xml_index, name='sentry-api-crossdomain-xml-index'), # plugins # XXX(dcramer): preferably we'd be able to use 'integrations' as the URL # prefix here, but unfortunately sentry.io has that mapped to marketing # assets for the time being url(r'^extensions/(?P<provider_id>[\w_-]+)/setup/$', IntegrationSetupView.as_view()), url(r'^extensions/cloudflare/', include('sentry.integrations.cloudflare.urls')), url(r'^extensions/slack/', include('sentry.integrations.slack.urls')), url(r'^plugins/', include('sentry.plugins.base.urls')), # Generic API url( r'^share/(?:group|issue)/(?P<share_id>[\w_-]+)/$', GenericReactPageView.as_view(auth_required=False), name='sentry-group-shared' ), # Keep named URL for for things using reverse url( r'^(?P<organization_slug>[\w_-]+)/issues/(?P<short_id>[\w_-]+)/$',