Skip to content

Commit

Permalink
By default use english docs.
Browse files Browse the repository at this point in the history
// TODO: i18n
  • Loading branch information
buglloc committed May 11, 2017
1 parent 150d9f2 commit 1cbcc26
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gixy/plugins/add_header_multiline.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class add_header_multiline(Plugin):
severity = gixy.severity.LOW
description = ('Multi-line headers are deprecated (see RFC 7230). '
'Some clients never supports them (e.g. IE/Edge).')
help_url = 'https://github.com/yandex/gixy/blob/master/docs/ru/plugins/addheadermultiline.md'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/en/plugins/addheadermultiline.md'
directives = ['add_header', 'more_set_headers']

def audit(self, directive):
Expand Down
2 changes: 1 addition & 1 deletion gixy/plugins/add_header_redefinition.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class add_header_redefinition(Plugin):
severity = gixy.severity.MEDIUM
description = ('"add_header" replaces ALL parent headers. '
'See documentation: http://nginx.org/en/docs/http/ngx_http_headers_module.html#add_header')
help_url = 'https://github.com/yandex/gixy/blob/master/docs/ru/plugins/addheaderredefinition.md'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/en/plugins/addheaderredefinition.md'
directives = ['server', 'location', 'if']
options = {'headers': {'x-frame-options',
'x-content-type-options',
Expand Down
2 changes: 1 addition & 1 deletion gixy/plugins/host_spoofing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class host_spoofing(Plugin):
summary = 'The proxied Host header may be spoofed.'
severity = gixy.severity.MEDIUM
description = 'In most cases "$host" variable are more appropriate, just use it.'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/ru/plugins/hostspoofing.md'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/en/plugins/hostspoofing.md'
directives = ['proxy_set_header']

def audit(self, directive):
Expand Down
2 changes: 1 addition & 1 deletion gixy/plugins/http_splitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class http_splitting(Plugin):
summary = 'Possible HTTP-Splitting vulnerability.'
severity = gixy.severity.HIGH
description = 'Using variables that can contain "\\n" may lead to http injection.'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/ru/plugins/httpsplitting.md'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/en/plugins/httpsplitting.md'
directives = ['rewrite', 'return', 'add_header', 'proxy_set_header', 'proxy_pass']

def audit(self, directive):
Expand Down
2 changes: 1 addition & 1 deletion gixy/plugins/origins.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class origins(Plugin):
summary = 'Validation regex for "origin" or "referrer" matches untrusted domain.'
severity = gixy.severity.MEDIUM
description = 'Improve the regular expression to match only trusted referrers.'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/ru/plugins/origins.md'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/en/plugins/origins.md'
directives = ['if']
options = {
'domains': ['*'],
Expand Down
2 changes: 1 addition & 1 deletion gixy/plugins/ssrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ssrf(Plugin):
summary = 'Possible SSRF (Server Side Request Forgery) vulnerability.'
severity = gixy.severity.HIGH
description = 'The configuration may allow attacker to create a arbitrary requests from the vulnerable server.'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/ru/plugins/ssrf.md'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/en/plugins/ssrf.md'
directives = ['proxy_pass']

def __init__(self, config):
Expand Down
2 changes: 1 addition & 1 deletion gixy/plugins/valid_referers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class valid_referers(Plugin):
summary = 'Used "none" as valid referer.'
severity = gixy.severity.HIGH
description = 'Never trust undefined referer.'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/ru/plugins/validreferers.md'
help_url = 'https://github.com/yandex/gixy/blob/master/docs/en/plugins/validreferers.md'
directives = ['valid_referers']

def audit(self, directive):
Expand Down

0 comments on commit 1cbcc26

Please sign in to comment.