Skip to content

Commit

Permalink
detecting Microsoft-IIS server
Browse files Browse the repository at this point in the history
  • Loading branch information
FuhuXia committed Sep 22, 2023
1 parent e59a295 commit d235f8d
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 d235f8d

Please sign in to comment.