Hi everyone,
here's another weird issue I came across.
I'm trying to access Atom feeds of Wiki watchlists. Those require passing a token and a list of &ed parameters. It turned out I can't receive the feed because the token is not transmitted correctly for some reason. Testing with CURL myself, the same problem occured, but only if I did not put single quotes around the URL. Using single quotes or escaping all the &s with \ made it work for CURL in a bash. Now what should I do to make the links work with Habari's RemoteRequest?
Those of you having an account in the Habari Wiki can test themselves:
1. Get the feed link for your watchlist (it's in the sidebar)
2. Throw it into RemoteRequest::get_contents()
3. Throw it into CURL in a terminal
4. Throw it into CURL in a terminal, enclosed in single quotes
Only the last one will show your watchlist.
I'm quite sure the problem is somewhere on the way between my or Habari's code setting up the request and CURL itself. So if you have any ideas, it will be appreciated.
Konzertheld