Running the RC, however with the newly implemented TestAddon feature the ProxyRequest function on my localhost. The right Url is being passed to the function however i assume due to the way it splits it it tries to request
Edit: On closer inspection it appears its the way the url is setup for cURL it ignores the Port in the request. It works fine using the file_get_contents which does use the Port value.
Not sure why the cURL part doesn't just use the $Url param in the first place. Commenting out line 811 of functions.general.php works a treat.
You are correct of course. When I say 'rely', I mean that it will attempt to use AJAX and gracefully degrade if it cannot.
My personal opinion is that we should try to use AJAX first. If it fails, try cURL / fsockopen. If those fail then fall back to blindly enabling the addon and letting the admin deal with whatever carnage he may unleash.
Comments
Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
My personal opinion is that we should try to use AJAX first. If it fails, try cURL / fsockopen. If those fail then fall back to blindly enabling the addon and letting the admin deal with whatever carnage he may unleash.
Vanilla Forums Senior Developer [GitHub, Twitter, About.me]