mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
ignore source code disclosure java as a false positive
This commit is contained in:
@@ -316,7 +316,6 @@ def init_app(application):
|
||||
application.before_request(load_organization_before_request)
|
||||
application.before_request(request_helper.check_proxy_header_before_request)
|
||||
application.before_request(make_session_permanent)
|
||||
application.before_request(block_serving_node_files)
|
||||
application.after_request(save_service_or_org_after_request)
|
||||
|
||||
start = len(asset_fingerprinter._filesystem_path)
|
||||
@@ -405,11 +404,6 @@ def make_session_permanent():
|
||||
session.permanent = True
|
||||
|
||||
|
||||
def block_serving_node_files():
|
||||
if "node_modules" in request.path:
|
||||
abort(403)
|
||||
|
||||
|
||||
def create_beta_url(url):
|
||||
url_created = None
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user