summaryrefslogtreecommitdiff
path: root/issues
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-11-28 10:10:04 +0300
committerFrederick Muriuki Muriithi2023-11-28 10:10:04 +0300
commitfc479f938af90f45cd085063b4d0d237141636e8 (patch)
treeb4a6b66332e51fe0d1c13d7b3e35d5dfb5d5751c /issues
parentd10d2bb5d58d8f93ee76f38c6238d11998b21daf (diff)
downloadgn-gemtext-fc479f938af90f45cd085063b4d0d237141636e8.tar.gz
close issue: buggy use of `urllib.parse.urljoin`
Diffstat (limited to 'issues')
-rw-r--r--issues/buggy-use-of-urljoin.gmi6
1 files changed, 5 insertions, 1 deletions
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.