Changeset bcc6fd6 for fedd


Ignore:
Timestamp:
Jul 7, 2012 5:57:36 PM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
b931822
Parents:
7718539
Message:

Handle null fedids in get requests

Location:
fedd/federation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/access.py

    r7718539 rbcc6fd6  
    325325        """
    326326        self.log.info("Get handler %s %s" % (path, fid))
     327        if len("%s" % fid) == 0:
     328            return (None, None)
    327329        if self.auth.check_attribute(fid, path) and self.userconfdir:
    328330            return ("%s/%s" % (self.userconfdir, path), "application/binary")
  • fedd/federation/experiment_control.py

    r7718539 rbcc6fd6  
    23012301        """
    23022302        self.log.info("Get handler %s %s" % (path, fid))
     2303        if len("%s" % fid) == 0:
     2304            return (None, None)
    23032305        # XXX: log proofs?
    23042306        if self.auth.check_attribute(fid, path):
Note: See TracChangeset for help on using the changeset viewer.