cds-snc / url-shortener

An API written in Python that shortens URLs
MIT License
4 stars 1 forks source link

feat: check short URL still valid #332

Closed patheard closed 1 year ago

patheard commented 1 year ago

Summary

Update the short URL resolve function to check that a found short URL still meets the ALLOWED_DOMAINS restrictions.

Remove 2 unit tests that were not working as expected and being tested as part of the ShortUrls model unit tests.

Related