~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/breadcrumbs.py

  • Committer: David Coles
  • Date: 2010-07-17 11:32:50 UTC
  • Revision ID: coles.david@gmail.com-20100717113250-vi18n50bcjmfmzrt
Show warning for CGI header field-names which contain restricted characters.

Forbidden characters are the separators defined by RFC3875. This is mainly to 
fix an issue where printing a dictionary (with no CGI headers) could be 
assumed to be a CGI header with no warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
 
89
89
    @property
90
90
    def text(self):
91
 
        return '%s %s' % (self.context.semester.year,
92
 
                          self.context.semester.display_name)
 
91
        return '%s semester %s' % (self.context.semester.year,
 
92
                                   self.context.semester.semester)
93
93
 
94
94
 
95
95
class ProjectsBreadcrumb(object):