Stats now send over SSL rather than straight HTTP.
This commit is contained in:
parent
e88a5e2493
commit
7961ff0cac
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
7.7.8
|
7.7.8
|
||||||
- added date pagination, and some formatting to EMS Schedule table
|
- added date pagination, and some formatting to EMS Schedule table
|
||||||
- Removed dubious 3px padding around image based ads in an adspace.
|
- Removed dubious 3px padding around image based ads in an adspace.
|
||||||
|
- Stats now send over SSL rather than straight HTTP.
|
||||||
|
|
||||||
7.7.7
|
7.7.7
|
||||||
- Added EMS Schedule table
|
- Added EMS Schedule table
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ sub execute {
|
||||||
$userAgent->env_proxy;
|
$userAgent->env_proxy;
|
||||||
$userAgent->agent("WebGUI/".$WebGUI::VERSION);
|
$userAgent->agent("WebGUI/".$WebGUI::VERSION);
|
||||||
$userAgent->timeout(30);
|
$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);
|
my $response = $userAgent->request($request);
|
||||||
if ($response->is_error) {
|
if ($response->is_error) {
|
||||||
$self->session->errorHandler->error("WebGUI Stats could not be sent.");
|
$self->session->errorHandler->error("WebGUI Stats could not be sent.");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue