NoReverseMatch: Reverse for 'demos_feed_search'

VERIFIED FIXED in 0.9.3

Status

developer.mozilla.org
Demo Studio / Dev Derby
VERIFIED FIXED
8 years ago
6 years ago

People

(Reporter: groovecoder, Unassigned)

Tracking

unspecified
0.9.3
x86
Mac OS X

Details

(Reporter)

Description

8 years ago
Bunch of these errors spit out for futzy input values. Not sure if we need to fix or just live with server errors when users try the malicious input values?

[Django] Error (EXTERNAL IP): /en-US/demos/search/

Traceback (most recent call last):

  File "/data/www/django/developer.mozilla.org/mdn/vendor/packages/Django/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/django/developer.mozilla.org/mdn/apps/demos/views.py", line 106, in search
    template_name='demos/listing_search.html')

  File "/data/www/django/developer.mozilla.org/mdn/vendor/packages/Django/django/views/generic/list_detail.py", line 101, in object_list
    return HttpResponse(t.render(c), mimetype=mimetype)

  File "/data/www/django/developer.mozilla.org/mdn/lib/utils.py", line 104, in render
    return self.template.render(context_dict)

  File "/data/www/django/developer.mozilla.org/mdn/vendor/packages/jinja2/jinja2/environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)

  File "/data/www/django/developer.mozilla.org/mdn/apps/demos/templates/demos/listing_search.html", line 5, in top-level template code
    {% set query = ' ' %}

  File "/data/www/django/developer.mozilla.org/mdn/apps/demos/templates/demos/base.html", line 1, in top-level template code
    {% extends "base_compact.html" %}

  File "/data/www/django/developer.mozilla.org/mdn/templates/base_compact.html", line 1, in top-level template code
    {% extends "base.html" %}

  File "/data/www/django/developer.mozilla.org/mdn/templates/base.html", line 33, in top-level template code
    {% block extrahead %}{% endblock %}

  File "/data/www/django/developer.mozilla.org/mdn/apps/demos/templates/demos/listing_search.html", line 15, in block "extrahead"
    href="{{ url('demos_feed_search', format='atom', query_string=query) }}" />

  File "/data/www/django/developer.mozilla.org/mdn/apps/devmo/helpers.py", line 57, in url
    return reverse(viewname, args=args, kwargs=kwargs)

  File "/data/www/django/developer.mozilla.org/mdn/apps/devmo/urlresolvers.py", line 27, in reverse
    url = django_reverse(viewname, urlconf, args, kwargs, prefix)

  File "/data/www/django/developer.mozilla.org/mdn/vendor/packages/Django/django/core/urlresolvers.py", line 350, in reverse
    *args, **kwargs)))

  File "/data/www/django/developer.mozilla.org/mdn/vendor/packages/Django/django/core/urlresolvers.py", line 296, in reverse
    "arguments '%s' not found." % (lookup_view_s, args, kwargs))

NoReverseMatch: Reverse for 'demos_feed_search' with arguments '()' and keyword arguments '{'query_string': u' <META HTTP-EQUIV="Set-Cookie" Content="USERID=<SCRIPT>document.vulnerable=true</SCRIPT>">', 'format': 'atom'}' not found.
This should be fixed now
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Assignee)

Updated

6 years ago
Component: Demos → Demo Studio / Dev Derby
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.