Skip to content

Commit a47532e

Browse files
authored
FP fix (#250)
1 parent 51d81e8 commit a47532e

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

detect_secrets/plugins/keyword.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676
'forwardWindowsAuthToken',
7777
'saveBootstrapTokens',
7878
'AntiXsrfTokenKey',
79+
'savePWD',
80+
'userPWD',
7981
)
8082
# Includes ], ', " as closing
8183
CLOSING = r'[]\'"]{0,2}'

tests/plugins/keyword_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
('<aspNetCore requestTimeout="00:05:00" processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="true" />', None),
5858
('<service name="Fmg.Cti.IdentityModel.InternalAuthorization.Web.InternalAuthorizationService" saveBootstrapTokens="true">', None),
5959
('private const string AntiXsrfTokenKey = "__AntiXsrfToken";', None),
60+
('<publishProfile publishUrl="C:\path\to\web" deleteExistingFiles="False" ftpAnonymousLogin="False" ftpPassiveMode="True" msdeploySite="" msdeploySiteID="" msdeployRemoteSitePhysicalPath="" msdeployAllowUntrustedCertificate="False" msdeploySkipExtraFilesOnServer="True" msdeployMarkAsApp="False" profileName="Profile1" publishMethod="FileSystem" replaceMatchingFiles="True" userName="" savePWD="False" userPWD="" SelectedForPublish="True">', None),
6061
]
6162

6263
GOLANG_TEST_CASES = [

0 commit comments

Comments
 (0)