Use https method in SSL mode. Fixes bug #11249
This commit is contained in:
parent
74a2df9ad6
commit
49ec9f65f4
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
7.8.6
|
||||
- fixed #11250: i18n Asset_EMSSubmissionForm::delete created items label help
|
||||
- fixed #11251: perload.perl tries to load t/lib/WebGUI/Test.pm
|
||||
- fixed #11249: Recaptcha https bug
|
||||
|
||||
7.8.5
|
||||
- added the EMS submission subsystem
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ sub toHtml {
|
|||
my $pubKey = $self->session->setting->get('recaptchaPublicKey');
|
||||
my $server = "http://api.recaptcha.net";
|
||||
if ($env->sslRequest) {
|
||||
$server = "http://api-secure.recaptcha.net";
|
||||
$server = "https://api-secure.recaptcha.net";
|
||||
}
|
||||
return
|
||||
'<script type="text/javascript" src="' . $server . '/challenge?k=' . $pubKey . '"></script>'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue