- Updated .env.example to clarify SEARXNG_SECRET generation and added SSRF_WHITELIST_EXTRA for improved security. - Modified docker-compose files to bind SearXNG to localhost by default and introduced a one-time initialization service to set up settings.yml correctly. - Enhanced SearxngProvider with stricter URL validation, ensuring no query or fragment is present in the base URL. - Added unit tests for SearXNG validation and date parsing to ensure robustness. - Updated frontend WebSearchSettings to reflect changes in SearXNG instance URL handling. This commit improves the security and usability of the SearXNG integration, addressing potential misconfigurations and enhancing the developer experience. |
||
|---|---|---|
| .. | ||
| crypto.go | ||
| crypto_test.go | ||
| debug.go | ||
| extraheaders.go | ||
| extraheaders_test.go | ||
| filesize.go | ||
| fileutil.go | ||
| httputil.go | ||
| inject.go | ||
| inject_test.go | ||
| json.go | ||
| log_sanitize.go | ||
| presign.go | ||
| presign_test.go | ||
| security.go | ||
| security_test.go | ||
| taskid.go | ||