Skip to content

error message when viewing non-URL#14421

Merged
valentijnscholten merged 2 commits intoDefectDojo:devfrom
dogboat:view-non-url-types
Mar 4, 2026
Merged

error message when viewing non-URL#14421
valentijnscholten merged 2 commits intoDefectDojo:devfrom
dogboat:view-non-url-types

Conversation

@dogboat
Copy link
Copy Markdown
Contributor

@dogboat dogboat commented Mar 2, 2026

This PR updates the URL ("endpoint") view to return a more helpful error rather than just crashing when viewing a non-URL.

Comment thread dojo/url/ui/views.py Outdated
@valentijnscholten valentijnscholten added this to the 2.57.0 milestone Mar 4, 2026
@valentijnscholten valentijnscholten merged commit 1667c8c into DefectDojo:dev Mar 4, 2026
284 checks passed
vvpoglazov pushed a commit to vvpoglazov/django-DefectDojo that referenced this pull request Mar 8, 2026
* helpful error message rather than crash when trying to view non-URL in URL view

* Update dojo/url/ui/views.py

---------

Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com>
tejas0077 pushed a commit to tejas0077/django-DefectDojo that referenced this pull request Mar 30, 2026
* helpful error message rather than crash when trying to view non-URL in URL view

* Update dojo/url/ui/views.py

---------

Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants