NOTE: In order to test this you must be using an HTTP proxy. Unfortunately it's not possible to test otherwise. It is also possible that this problem might depend on exactly which HTTP proxy you are using (I don't know!) so for a proper test, please test with current Moodle first and ensure you get the 'Before fix' behaviour described below, then test a version with this patch applied to ensure the error goes away.
See below for instructions on setting up a proxy if you don't have one.
0. Ensure your server is configured correctly to use the proxy.
1. On a course page, turn editing on and choose 'Remote RSS feeds' from the 'Add block' dropdown.'
2. In the block, click the Edit icon, then click 'Add/edit feeds' and 'Add a new feed'.
3. Paste in the feed URL https://zeustracker.abuse.ch/monitor.php?urlfeed=configs (NOTE - if you repeat this test, avoid caching problems by adding an extra parameter to this URL which you increment each time you test, for example &frog=1, &frog=2, etc.)
4. Hit 'Add a new feed'.
EXPECTED: Feed is added successfully.
BEFORE FIX: The following error appears:
Error loading this RSS feed (A feed could not be found at https://zeustracker.abuse.ch/monitor.php?urlfeed=configs. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.)
TO SET UP A PROXY:
A. Install Privoxy. I installed the Windows version 3.0.20 successfully. I did not set it to run on startup. I used default settings except that:
i. If you need to access it from a different machine, you may need to change the listen-address.
ii. You may want to set debug = 1 so you can be sure it's working (look at the display in the Privoxy window to check it makes requests)
B. Set up Moodle to use your Privoxy server. By default, Privoxy works on localhost:8118.
C. When running the above test, ensure that the https URL you are using for testing is accessible WITHOUT a proxy (i.e. you're going through Privoxy but the request would work without using a proxy). In other words if you are using an internal network that requires proxy, place a test file on a suitable https server within your network. This is because otherwise you have to configure Privoxy to work through your actual proxy and when I tried to do that, I couldn't make it work (plus it makes things more complicated).