Duckduckgo Bang for F-Droid is broken due to changed search url

Hey,
in duckduckgo.com you can add !fdroid (e.g. foo!fdroid) to the query and it will redirect to https://f-droid.org/packages/#q=foo. However this doesn’t filter the app list shown. I want to try to fix this, but I need a confirmation from the devs if https://staging.f-droid.org/search?q=foo will be a stable url for search queries or not.

This would be better but not yet implemented: https://f-droid.org/search?q=foo

Hey @mueller-ma,

thank you for working on this!

https://f-droid.org/packages/#q=foo used to work with the JS powered search function of the webpage but at some point the security headers of the website changed and now it is failing with this error:

10:55:24.224 Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src https://f-droid.org”). Source: 
	FDroid.Search.addFullSearch(
			docume.... 1 packages:193

I think that’s not this issue but somehow related. @hans Do we track this issue somewhere?

Reading this issue, I think not. However, if you want to get DDG search back to work now, I would use that URL for now until the issue is solved.

Thanks for your response. I submitted a request with the staging domain.
I’m watching the gitlab issue, so when the domain changes, I can send a new request.

1 Like

https://staging.f-droid.org/search?q=foo is a stable URL since staging
is supposed to be a complete staging env. The goal is to have
search.f-droid.org for the “real” one. admin#71

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.