Generic Bridge returns 404 "Bridge Not found" in latest docker
Title: [Bug] GenericBridge returns 404 "Bridge not found" in latest Docker image despite explicit WHITELIST env vars
Describe the bug
When running the latest rssbridge/rss-bridge:latest Docker image, the GenericBridge consistently returns a 404 error ("Bridge not found"), even when explicitly enabled via the WHITELIST environment variable or a mounted config.ini.php file.
Rolling back to the rssbridge/rss-bridge:2023-03-24 image resolves the issue, suggesting a regression or undocumented breaking change in the latest Docker build regarding bridge initialization or whitelist parsing.
To Reproduce
- Run the latest Docker image with explicit whitelist:
docker run -d --name rss-bridge -p 8080:80 \ -e 'HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ -e 'WHITELIST=GenericBridge,RedditBridge,YouTubeBridge' \ rssbridge/rss-bridge:latest
Request the GenericBridge via curl: curl -s "http://127.0.0.1:8080/?action=display&bridge=GenericBridge&url=https%3A%2F%2Fexample.com&format=Atom&item=body&title=h1&content=p"
Expected behavior The endpoint should return a valid Atom XML feed. Actual behavior The endpoint returns an HTML page with a 404 status code. The Docker logs show:
- [Date] "GET /index.php" 404 172.17.0.1 - - [Date] "GET /?action=display&bridge=GenericBridge&url=... HTTP/1.1" 404 678 "-" "curl/..." 12 Environment RSS-Bridge version: latest (and tested failing), 2023-03-24 (working) Deployment method: Docker (rssbridge/rss-bridge) OS: Linux (Parrot OS / Debian-based) Additional context We also attempted to bypass the env var by mounting a config.ini.php with [whitelist] bridges = "*", but the latest image still returned 404 for the GenericBridge. The issue seems specific to how the latest Docker entrypoint or PHP initialization handles the GenericBridge whitelist.
Source: RSS-Bridge/rss-bridge