branches with status:
Name Status Last Modified Last Commit
lp:~onceuponapriori/pysaml2/main 1 Development 2010-03-11 07:16:43 UTC
267. Fixes for xmlsec1 path and empty attr...

Author: onceuponapriori
Revision Date: 2010-03-11 07:13:46 UTC

Fixes for xmlsec1 path and empty attrs.

  1. xmlsec1 code was iterating over a bunch of chars since it didn't split on ':'. Also, dirname seemed to be giving incorrect behavior where a join with the path worked great. Finally, os.access *requires* a mode argument, we check for execute privs in this case since we want to execute the application.
  2. well-formed but empty attributes were causing an exception to be thrown. For example, my application has a few attributes that are required and a few that are not, eg, first_name. When first_name attr is empty, we use an empty string instead of exploding.

11 of 1 result