ensure important urls are not broken
Research papers published by our users may reference their app hosted on allgo. We must ensure that important urls are not broken.
Especially in the django app the webapp url is /app/DOCKER_NAME/
whereas the rails app accepts:
/app/DOCKER_NAME
/app/DOCKER_NAME/
/webapps/ID
/webapps/ID/
and the internal links use either /app/DOCKER_NAME
or /webapps/ID
.
Unfortunately it does not perform any redirect, therefore the displayed webapp url (that users copied and pasted into their paper) may be either /app/DOCKER_NAME
or /webapps/ID
(depending on the link they used to land on this page).
update 2018/09/05
- need to protect tag urls:
/tags/TAG_NAME
- should perform an analysis of nginx logs to ensure we did not miss any other important url