Update url_shortner to fix bugs and show more meaningful part of the endpoint (#3118)
Update url_shortner to fix bugs and show more meaningful part of the endpoint (#3118)

* Refactor url_shortner to fix bug with single char paths

Refactor url shortner to remove extra conditional reassignment

Update url shortner to display last 50 of long return values.

* Update display_tags.py

Co-authored-by: valentijnscholten <5520e66e6d1c4e12d3cfb0c17306cc26f2688d90@gmail.com>
rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo,rackerlabs/django-DefectDojo