Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash on saving endpoint (FFUF related only) #1063

Merged
merged 9 commits into from
Nov 27, 2023
Prev Previous commit
Next Next commit
Remove bad tuple var and set create flag to true
  • Loading branch information
psyray committed Nov 23, 2023
commit d12d69ba2afea2e5ca6a7db9b7501b7b843cf4c2
3 changes: 2 additions & 1 deletion web/reNgine/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4509,12 +4509,13 @@ def save_endpoint(
created = False
else:
# No existing record, create a new one
endpoint, created = EndPoint.objects.create(
endpoint = EndPoint.objects.create(
scan_history=scan,
target_domain=domain,
http_url=http_url,
**endpoint_data
)
created = True

if created:
endpoint.is_default = is_default
Expand Down
Loading