Nothing prevents a person from creating a groups with an ampersand (&) in
the id, but it causes problems when you do. In particular, links to the
group fail to escape the ampersand, and the groups list page dumps stack.
What version are you running?
1.0
What's the URL of the page containing the problem?
/groups/
What steps will reproduce the problem?
1. create a group with & in the id
2. view the groups list, noting stack trace
3. other places have links to the group that fail to escape the ampersand
What is the expected output? What do you see instead?
groups list, stack trace
What operating system are you using? What browser?
Windows XP, Firefox 3.5
Please provide any additional information below.
Error dumped:
NoReverseMatch at /groups/
Reverse for 'group' with arguments '(u'AES_T&T',)' and keyword arguments
'{}' not found.
Request Method: GET
Request URL: https://...censored.../groups/
Exception Type: NoReverseMatch
Exception Value:
Reverse for 'group' with arguments '(u'AES_T&T',)' and keyword arguments
'{}' not found.
Exception Location:
/...censored.../lib/python2.5/site-packages/django/core/urlresolvers.py in
reverse, line 243
Python Executable: /...censored.../bin/python
Python Version: 2.5.1
Python Path: [...censored...]
Server time: Wed, 19 Aug 2009 17:49:56 -0700