We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d481f commit 5443164Copy full SHA for 5443164
gixy/plugins/proxy_pass_normalized.py
@@ -2,7 +2,7 @@
2
import gixy
3
from gixy.plugins.plugin import Plugin
4
5
-class ProxyPassNormalized(Plugin):
+class proxy_pass_normalized(Plugin):
6
r"""
7
This plugin detects if there is any path component (slash or more)
8
after the host in a proxy_pass directive.
@@ -18,7 +18,7 @@ class ProxyPassNormalized(Plugin):
18
directives = ['proxy_pass']
19
20
def __init__(self, config):
21
- super(ProxyPassNormalized, self).__init__(config)
+ super(proxy_pass_normalized, self).__init__(config)
22
self.parse_uri_re = re.compile(r'(?P<scheme>[^?#/)]+://)?(?P<host>[^?#/)]+)(?P<path>/.*)?')
23
24
def audit(self, directive):
0 commit comments