Skip to content

Commit d74e7ec

Browse files
Gonchik TsymzhitovGonchik Tsymzhitov
authored andcommitted
Fix Confluence Cloud requests
1 parent ce4a122 commit d74e7ec

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

atlassian/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.13.28
1+
1.13.29

atlassian/rest_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ class AtlassianRestAPI(object):
2121

2222
def __init__(self, url, username=None, password=None, timeout=60, api_root='rest/api', api_version='latest',
2323
verify_ssl=True, session=None, oauth=None, cookies=None, advanced_mode=None):
24-
if ('atlassian.net' in url or 'jira.com' in url) and '/wiki' not in url:
24+
if ('atlassian.net' in url or 'jira.com' in url) \
25+
and '/wiki' not in url \
26+
and self.__class__.__name__ in 'Confluence':
2527
url = self.url_joiner(url, '/wiki')
2628
self.url = url
2729
self.username = username

0 commit comments

Comments
 (0)