Stats now send over SSL rather than straight HTTP.

This commit is contained in:
JT Smith 2009-05-26 21:33:53 +00:00
parent e88a5e2493
commit 7961ff0cac
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
7.7.8
- added date pagination, and some formatting to EMS Schedule table
- Removed dubious 3px padding around image based ads in an adspace.
- Stats now send over SSL rather than straight HTTP.
7.7.7
- Added EMS Schedule table

View file

@ -94,7 +94,7 @@ sub execute {
$userAgent->env_proxy;
$userAgent->agent("WebGUI/".$WebGUI::VERSION);
$userAgent->timeout(30);
my $request = POST 'http://www.webgui.org/stats', [ func => 'receiveStats', stats => $statsAsJson ];
my $request = POST 'https://www.webgui.org/stats', [ func => 'receiveStats', stats => $statsAsJson ];
my $response = $userAgent->request($request);
if ($response->is_error) {
$self->session->errorHandler->error("WebGUI Stats could not be sent.");