Skip to content

Commit

Permalink
Merge pull request #375 from rohe/fix_urljoin
Browse files Browse the repository at this point in the history
base URL according to urljoin can only contain one path component.
  • Loading branch information
rohe committed Jun 8, 2017
2 parents 7dd51a5 + 75fe84d commit bf321f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oic/oic/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ def create_providerinfo(self, pcr_class=ProviderConfigurationResponse,

for endp in self.endp:
# _log_info("# %s, %s" % (endp, endp.name))
_provider_info['{}_endpoint'.format(endp.etype)] = urljoin(
_provider_info['{}_endpoint'.format(endp.etype)] = '{}/{}'.format(
self.baseurl,
endp.url)

Expand Down

0 comments on commit bf321f1

Please sign in to comment.