Skip to content

Commit 5443164

Browse files
author
Joshua Rogers
committed
Use proxy_pass_normalized as class name as it's included in the report
1 parent f4d481f commit 5443164

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gixy/plugins/proxy_pass_normalized.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import gixy
33
from gixy.plugins.plugin import Plugin
44

5-
class ProxyPassNormalized(Plugin):
5+
class proxy_pass_normalized(Plugin):
66
r"""
77
This plugin detects if there is any path component (slash or more)
88
after the host in a proxy_pass directive.
@@ -18,7 +18,7 @@ class ProxyPassNormalized(Plugin):
1818
directives = ['proxy_pass']
1919

2020
def __init__(self, config):
21-
super(ProxyPassNormalized, self).__init__(config)
21+
super(proxy_pass_normalized, self).__init__(config)
2222
self.parse_uri_re = re.compile(r'(?P<scheme>[^?#/)]+://)?(?P<host>[^?#/)]+)(?P<path>/.*)?')
2323

2424
def audit(self, directive):

0 commit comments

Comments
 (0)