Skip to content

Commit fbbf5f5

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent cb76c51 commit fbbf5f5

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGES.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

4-
2004-??-?? 0.6.5
4+
2004-??-?? 0.6.6
5+
Fixed:
6+
- don't insert spaces into designators, it just confuses users (sf bug 898087)
7+
8+
9+
2004-02-16 0.6.5
510
Fixed:
611
- mailgw handling of subject-line errors
712
- allow serving of FileClass file content when the class isn't called

roundup/cgi/templating.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,10 @@ def _hyper_repl(self, match):
869869
s2 = match.group('id')
870870
try:
871871
# make sure s1 is a valid tracker classname
872-
self._db.getclass(s1)
873-
return '<a href="%s">%s %s</a>'%(s, s1, s2)
872+
cl = self._db.getclass(s1)
873+
if not cl.hasnode(s2):
874+
raise KeyError, 'oops'
875+
return '<a href="%s">%s%s</a>'%(s, s1, s2)
874876
except KeyError:
875877
return '%s%s'%(s1, s2)
876878

0 commit comments

Comments
 (0)