more path checking and validating that the value passed to jar.get_cookies is a fully qualified URI