Skip to content

Commit

Permalink
Merge pull request ckan#316 from GSA/iis
Browse files Browse the repository at this point in the history
detecting Microsoft-IIS server
  • Loading branch information
amercader committed Oct 25, 2023
2 parents e59a295 + d235f8d commit 78ef3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/spatial/harvesters/waf.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def _get_scraper(server):
return 'apache'
if 'nginx' in server.lower():
return 'nginx'
if server == 'Microsoft-IIS/7.5':
if 'Microsoft-IIS' in server:
return 'iis'
else:
return 'other'
Expand Down

0 comments on commit 78ef3ba

Please sign in to comment.