fix(secscan): don't use slash_join, it discards the root
This commit is contained in:
parent
b9581e0baf
commit
ac54dd6f5d
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
import os
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from abc import ABCMeta, abstractmethod
|
from abc import ABCMeta, abstractmethod
|
||||||
|
@ -23,7 +24,7 @@ TOKEN_VALIDITY_LIFETIME_S = 60 # Amount of time the security scanner has to cal
|
||||||
|
|
||||||
UNKNOWN_PARENT_LAYER_ERROR_MSG = 'worker: parent layer is unknown, it must be processed first'
|
UNKNOWN_PARENT_LAYER_ERROR_MSG = 'worker: parent layer is unknown, it must be processed first'
|
||||||
|
|
||||||
MITM_CERT_PATH = slash_join(CONF_DIR, 'mitm.cert')
|
MITM_CERT_PATH = os.path.join(CONF_DIR, 'mitm.cert')
|
||||||
|
|
||||||
DEFAULT_HTTP_HEADERS = {'Connection': 'close'}
|
DEFAULT_HTTP_HEADERS = {'Connection': 'close'}
|
||||||
|
|
||||||
|
|
Reference in a new issue