Skip to content

Commit

Permalink
Removing padding for connection invitation url
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Hale <[email protected]>
  • Loading branch information
jamshale committed Sep 17, 2024
1 parent bbbe6f7 commit 56f99c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def to_url(self, base_url: Optional[str] = None) -> str:
"""
c_json = self.to_json()
c_i = bytes_to_b64(c_json.encode("ascii"), urlsafe=True)
c_i = bytes_to_b64(c_json.encode("ascii"), urlsafe=True, pad=False)
result = urljoin(base_url or self.endpoint or "", "?c_i={}".format(c_i))
return result

Expand Down

0 comments on commit 56f99c3

Please sign in to comment.