We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16cf0b6 commit 03fa045Copy full SHA for 03fa045
imagekitio/url.py
@@ -114,7 +114,7 @@ def build_url(self, options: dict) -> str:
114
expiry_timestamp = self.get_signature_timestamp(expire_seconds)
115
116
# remove the trailing slash('/') from the netloc since `urlunparse` adds it
117
- result_url_dict['netloc'] = result_url_dict['netloc'][:-1]
+ result_url_dict["netloc"].rstrip("/")
118
intermediate_url = urlunparse(
119
result_url_dict.get(f, "") for f in ParseResult._fields
120
)
0 commit comments