#1942 certmonger.py should be less strict in checking parameters
Closed: Fixed None Opened 12 years ago by simo.

when you run certmonger.stop_tracking() it will fail to properly find a cert by nickname if the directory of the certs db you pass as parameter has a trailing '/'

In get_request_id() the rv.rstrip() should probably be compared to value.rstrip('/ '), or both rv and value should be preemptively rstrip()ed of trailing slashes and such.

In general they should probably be normalized through a function that knows how to reduce paths in order to remove any double slashes or things like /./ etc...


Normalize all paths when doing direct comparisons.

Metadata Update from @simo:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 3.0 Core Effort - 2011/12

7 years ago

Login to comment on this ticket.

Metadata