1 2 3 4
Fixed by replacing '/bug?id=%s' % shortname with '/bug?%s' % urlencode({'id':bug.id.long_user()})