[PR #715] [MERGED] Add support for relative search results #952

Closed
opened 2026-02-25 20:37:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/benbusby/whoogle-search/pull/715
Author: @gdm85
Created: 4/6/2022
Status: Merged
Merged: 4/18/2022
Merged by: @benbusby

Base: mainHead: feat/relative-search-results


📝 Commits (4)

  • f60e132 Relativization of search results
  • 5bd73b9 Fix JavaScript error when opening images
  • d4b9d86 Replace single-letter logo and remove sign-in link
  • 73a9b03 Add WHOOGLE_URL_PREFIX env var to support relative path redirection

📊 Changes

9 files changed (+45 additions, -6 deletions)

View changed files

📝 Dockerfile (+2 -0)
📝 README.md (+1 -0)
📝 app/filter.py (+21 -0)
📝 app/routes.py (+4 -1)
📝 app/static/js/utils.js (+11 -4)
📝 app/templates/search.html (+1 -1)
📝 app/utils/results.py (+1 -0)
📝 charts/whoogle/values.yaml (+1 -0)
📝 whoogle.template.env (+3 -0)

📄 Description

If you are running whoogle on a non-root URI (e.g. /something/whoogle) then results will not work.

This PR make some changes to the souped'up results so that URLs will be correctly relativised.

Fixes #441


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/benbusby/whoogle-search/pull/715 **Author:** [@gdm85](https://github.com/gdm85) **Created:** 4/6/2022 **Status:** ✅ Merged **Merged:** 4/18/2022 **Merged by:** [@benbusby](https://github.com/benbusby) **Base:** `main` ← **Head:** `feat/relative-search-results` --- ### 📝 Commits (4) - [`f60e132`](https://github.com/benbusby/whoogle-search/commit/f60e132d3c4bdd49c29c6d8759b775eb8ad50db0) Relativization of search results - [`5bd73b9`](https://github.com/benbusby/whoogle-search/commit/5bd73b97127ec9238e38a36950a007da23c4fa22) Fix JavaScript error when opening images - [`d4b9d86`](https://github.com/benbusby/whoogle-search/commit/d4b9d867d86ff7e407f6d167abd1c36495d2e17d) Replace single-letter logo and remove sign-in link - [`73a9b03`](https://github.com/benbusby/whoogle-search/commit/73a9b030101cff84cf2e8e3ef9889d9d2d11a891) Add `WHOOGLE_URL_PREFIX` env var to support relative path redirection ### 📊 Changes **9 files changed** (+45 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+2 -0) 📝 `README.md` (+1 -0) 📝 `app/filter.py` (+21 -0) 📝 `app/routes.py` (+4 -1) 📝 `app/static/js/utils.js` (+11 -4) 📝 `app/templates/search.html` (+1 -1) 📝 `app/utils/results.py` (+1 -0) 📝 `charts/whoogle/values.yaml` (+1 -0) 📝 `whoogle.template.env` (+3 -0) </details> ### 📄 Description If you are running whoogle on a non-root URI (e.g. `/something/whoogle`) then results will not work. This PR make some changes to the souped'up results so that URLs will be correctly relativised. Fixes #441 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 20:37:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#952
No description provided.