From fc479f938af90f45cd085063b4d0d237141636e8 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 28 Nov 2023 10:10:04 +0300 Subject: close issue: buggy use of `urllib.parse.urljoin` --- issues/buggy-use-of-urljoin.gmi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'issues') diff --git a/issues/buggy-use-of-urljoin.gmi b/issues/buggy-use-of-urljoin.gmi index fac6597..b6e27d6 100644 --- a/issues/buggy-use-of-urljoin.gmi +++ b/issues/buggy-use-of-urljoin.gmi @@ -5,11 +5,15 @@ * type: bug * priority: low * assigned: fredm -* status: pending +* status: closed, completed * keywords: url ## Description +This issue was circumvented by ensuring all the configuration settings that are URIs end with a trailing slash. This ensures that the function can continue working as documented and expected. + +---- + The => https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urljoin `urllib.parse.urljoin` function will extract the base url from the first argument, and will lead to subtle errors if the configurations are not set up correctly to include the trailing slash. -- cgit v1.2.3