{"action":"opened","issue":{"url":"https://api.github.com/repos/Parallels/artifactory/issues/52","repository_url":"https://api.github.com/repos/Parallels/artifactory","labels_url":"https://api.github.com/repos/Parallels/artifactory/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/Parallels/artifactory/issues/52/comments","events_url":"https://api.github.com/repos/Parallels/artifactory/issues/52/events","html_url":"https://github.com/Parallels/artifactory/issues/52","id":239894567,"number":52,"title":"Double slashes causes inconsistency between open() and exists()","user":{"login":"JarrettSpiker","id":10147422,"avatar_url":"https://avatars3.githubusercontent.com/u/10147422?v=3","gravatar_id":"","url":"https://api.github.com/users/JarrettSpiker","html_url":"https://github.com/JarrettSpiker","followers_url":"https://api.github.com/users/JarrettSpiker/followers","following_url":"https://api.github.com/users/JarrettSpiker/following{/other_user}","gists_url":"https://api.github.com/users/JarrettSpiker/gists{/gist_id}","starred_url":"https://api.github.com/users/JarrettSpiker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JarrettSpiker/subscriptions","organizations_url":"https://api.github.com/users/JarrettSpiker/orgs","repos_url":"https://api.github.com/users/JarrettSpiker/repos","events_url":"https://api.github.com/users/JarrettSpiker/events{/privacy}","received_events_url":"https://api.github.com/users/JarrettSpiker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-30T21:37:39Z","updated_at":"2017-06-30T21:37:39Z","closed_at":null,"body":"If a path has double slashes (e.g. http://artifactory:8081/artifactory//something/artifact.jar) then, assuming that the artifact does actually exist, ArtifactoryPath.exists() will return True.\r\n\r\n However, when open() is called on the same path, it will fail with `RuntimeError: 404`\r\n\r\nObviously it would make life easier if open() would succeed on such a call, but barring this exists() should fail so that it is possible to check for artifacts without actually trying to open them.\r\n\r\n"}}
{"actor":{"display_login":"JarrettSpiker"}}