- Timestamp:
- 2017-08-03T19:28:08+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/downloaders/WgetDownload.pm
r30520 r31851 167 167 { 168 168 169 $strOptions .= " -e httpproxy=$self->{'proxy_host'}:$self->{'proxy_port'} "; 169 if($self->{'url'} =~ m/^https\:/) { 170 $strOptions .= " -e https_proxy=$self->{'proxy_host'}:$self->{'proxy_port'} "; 171 } else { 172 $strOptions .= " -e http_proxy=$self->{'proxy_host'}:$self->{'proxy_port'} "; 173 } 170 174 171 175 if ($self->{'user_name'} && $self->{'user_password'}) … … 179 183 } 180 184 185 if($self->{'no_check_certificate'} && $self->{'url'} =~ m/^https\:/) { 186 $strOptions .= " --no-check-certificate "; 187 } 188 181 189 return $strOptions; 182 190 }
Note:
See TracChangeset
for help on using the changeset viewer.