Merge pull request #25 from netzbegruenung/count-https-double

Doppelte Punktzahl für HTTPS
This commit is contained in:
Marian Steinbach 2018-04-21 20:39:35 +02:00 committed by GitHub
commit 9f451c4d8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7182 additions and 5617 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

View file

@ -66,6 +66,7 @@
<th scope="col"><abbr title="Site nutzt HTTP-Verschlüsselung">HTTPS</abbr></th>
<th scope="col">Feed</th>
<th scope="col">Screenshots</th>
<th scope="col">CMS</th>
</tr>
</thead>
<tbody>

View file

@ -454,7 +454,7 @@ def check_site(entry):
# HTTPS
for item in result['details']['urlchecks']:
if item['error'] is None and item['url'].startswith('https://'):
result['result']['HTTPS'] = {'value': True, 'score': 1}
result['result']['HTTPS'] = {'value': True, 'score': 2}
break
# WWW_OPTIONAL

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff