← Back to team overview

mahara-contributors team mailing list archive

[Bug 1457032] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4975
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/fa60dae04c8a172f731049bbc4ee6fc3fab1ae5a
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    15.04_STABLE

commit fa60dae04c8a172f731049bbc4ee6fc3fab1ae5a
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Thu Jul 16 17:18:35 2015 +1200

Use standard Mahara curl methods for gravatar header request (Bug
1457032)

By using the standard methods we make sure that we respect proxy settings,
future security methods, etc.

Change-Id: I2870aac0e3a68080e8af35e4f113c151aa812352
(cherry picked from commit 854b64aef13939a389f7b8f4d5dfa8361f052788)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1457032

Title:
  remote avar does not adhere to site proxy settings

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  When using a mahara site with proxy enabled , remote avatar function
  does after trying to get the avatar from the internet(after 120 s)
  .This makes browsing the site really slow behind a firewall . This
  happens due to the fact that get_headers function under lib/user.php
  page does not support proxy calls .

  A way to get around this is to use stream_context_set_default before
  call to get_headers and use the proxy there.

  Patch for the fix has been submitted.

  Hittesh

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1457032/+subscriptions


References