We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f4feef47 authored by mattl's avatar mattl

Don't follow redirects on PuSH POST.

parent b696fb4e
......@@ -263,6 +263,7 @@ class HubSub extends Managed_DataObject
common_log(LOG_INFO, "About to push feed to $this->callback for {$this->getTopic()}, HMAC $hmac");
$request = new HTTPClient();
$request->setConfig(array('follow_redirects' => false));
try {
$response = $request->post($this->callback, $headers);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment