mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #201] [BUG] Adding as search engine in Firefox ignores root URL #139
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sethforprivacy on GitHub (Feb 13, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/201
Describe the bug
When deploying via Docker and using an NGINX reverse proxy, Whoogle works properly when navigating to full URL, but does not work when added as a search engine to Firefox.
To Reproduce
Steps to reproduce the behavior:
docker run --restart unless-stopped --publish 5000:5000 --detach --name whoogle-search -e "HTTPS_ONLY=1" benbusby/whoogle-search:latestDeployment Method
runexecutableVersion of Whoogle Search
Desktop (please complete the following information):
Additional context
@maxlinux2000 commented on GitHub (Mar 5, 2021):
I can confirm the bug. The same happens with apache proxy in a raspberryPi4 outside my home network (another fiber conection of my office)
to reproduce deply a whoogle with default options, then create a website with apache, load the following modules
Add apache Directives to the site
where the 192.168.0.100 is the fixed IP of the raspberrypi but this is not the public IP.
It works fine if deploy in a VPS (digitalocean for example) and the IP of eth0 is public.
the bug comes from the fact that adding the search engine to firefox uses the IP that Docker tells it instead of what we put in the Root URL
@maxlinux2000 commented on GitHub (Mar 5, 2021):
here a workaround to make the searches work, from the url bar.
It is in Spanish, but there are many automatic translators on the internet
This workaround will help you, while the programmer solves the bug.
https://isla1.tormentasolar.win/whoogle-y-google/
@benbusby commented on GitHub (Mar 7, 2021):
I've been trying to reproduce this for a while, with no luck. Can one of you validate that the values in
<your whoogle url>/opensearch.xmldo not match what you have in the root URL field of the config? The template process to generate the opensearch xml is fairly straightforward, so I'm a bit confused why it isn't working for you both. For example, if I change any of my instance root URLs to "example" and then load the opensearch.xml file, it's updated to use "example" as the main search URL field.My inclination is that Firefox may be caching an old version of the opensearch file from before the root URL is updated, but I'd like to double check.
@benbusby commented on GitHub (Mar 28, 2021):
With the recent changes to setting the root URL as an environment variable (available on the
betaDocker image), I'm going to assume this is fixed. Please see the updated documentation for more info.