If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Status

Mozilla Developer Network
Wiki pages
VERIFIED FIXED
6 years ago
5 years ago

People

(Reporter: retornam, Assigned: lorchard)

Tracking

unspecified
x86
Mac OS X

Details

(Whiteboard: c=localization u=visitor p=1, URL)

(Reporter)

Description

6 years ago
STR:
1) Visit http://developer.mozilla.org/en-US/demos/detail/doom-on-the-web/



Traceback (most recent call last):

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 127, in get_response
    return callback(request, **param_dict)

  File "/data/www/django/developer.mozilla.org/kuma/../kuma/urls.py", line 57, in <lambda>
    handler404 = lambda r: _error_page(r, 404)

  File "/data/www/django/developer.mozilla.org/kuma/../kuma/urls.py", line 56, in _error_page
    return jingo.render(request, '%d.html' % status, status=status)

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/jingo/jingo/__init__.py", line 78, in render
    rendered = render_to_string(request, template, context)

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/jingo/jingo/__init__.py", line 96, in render_to_string
    return template.render(**get_context())

  File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)

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

  File "/data/www/django/developer.mozilla.org/kuma/templates/base.html", line 132, in top-level template code
    {% include "includes/login.html" %}

  File "/data/www/django/developer.mozilla.org/kuma/templates/includes/login.html", line 8, in top-level template code
    <a href="/Special:UserLogin?returntotitle={{request.path|urlencode}}">{{ _('Log in') }}</a></p>

  File "/data/www/django/developer.mozilla.org/kuma/apps/devmo/helpers.py", line 63, in urlencode
    return urllib.quote_plus(txt)

  File "/usr/lib/python2.6/urllib.py", line 1230, in quote_plus
    return quote(s, safe)

  File "/usr/lib/python2.6/urllib.py", line 1222, in quote
    res = map(safe_map.__getitem__, s)
Target Milestone: --- → 1.4
Whiteboard: c=localization u=visitor p=1
(Assignee)

Updated

6 years ago
Assignee: nobody → lorchard

Comment 1

6 years ago
Commit pushed to https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/f62305a598b6211f2dab584943984468ebf8c044
Merge pull request #23 from lmorchard/bug-689206

Bug 689206 - KeyError: u'\xad'
(Assignee)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

6 years ago
verified fixed redirects to https://wiki.mozilla.org/Legal/Infringement_Notices/3_June_2011
Status: RESOLVED → VERIFIED
Version: MDN → unspecified
Component: Website → Landing pages
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.