diff options
| author | grasdk <115414609+grasdk@users.noreply.github.com> | 2025-04-11 00:24:10 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-04-11 09:47:25 +0200 |
| commit | 8ee51cc0f3ae97658fad85ff91bdb03ca6be51c1 (patch) | |
| tree | 0a6e9958ed24ba29f832832b0bdf683ec8eba0b5 /client | |
| parent | ed2953c59f2f11d4b51e0161ae34225271462de1 (diff) | |
[fix] engine dokuwiki: basedir duplication
Dokuwiki searches behind reverse proxy had duplicate base path in the url,
creating a wrong url.
This patch exchanges string concat of URLs with urljoin [1] from urllib.parse. This
eliminates the dual problem, while retaining the old functionality designed to
concatenate protocol, hostname and port (as base_url) with path.
[1] https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urljoin
Closes: https://github.com/searxng/searxng/issues/4598
Diffstat (limited to 'client')
0 files changed, 0 insertions, 0 deletions