From 169cd007c5c46181597992eea9c7640f16b6e80d Mon Sep 17 00:00:00 2001 From: Andrew Petro <andrew.petro@wisc.edu> Date: Fri, 8 Oct 2021 09:48:18 -0500 Subject: [PATCH] fix: use root-relative feedback link --- CHANGELOG.md | 3 +++ myuw-root-webapp/src/main/webapp/404.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a18143..1b6a907 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ + Label the root 403 error page with error code MYUW-002. + Label the root 404 error page with error code MYUW-003. ++ Use root-relative link to feedback so that feedback remains in correct hostname + (so, in my.wisc.edu the feedback link will be to my.wisc.edu, + but in my.wisconsin.edu the feedback link will be to my.wisconsin.edu) ## 1.1.15 and earlier diff --git a/myuw-root-webapp/src/main/webapp/404.html b/myuw-root-webapp/src/main/webapp/404.html index 5710a62..9596ada 100644 --- a/myuw-root-webapp/src/main/webapp/404.html +++ b/myuw-root-webapp/src/main/webapp/404.html @@ -30,7 +30,7 @@ <h2 class="mr-title">Sorry, the page you are looking for does not exist or you don't have access to it.</h2> <p>Please go to the <a href='/'>MyUW home page</a>.</p> <p class="apologize">We apologize for the inconvenience. If you feel as though this URL should exist, please drop - us a line on our <a href='https://my.wisc.edu/portal/p/feedback'>feedback form</a>. When offering feedback or contacting the Help Desk, please mention <strong>MyUW error code MYUW-003</strong>.</p> + us a line on our <a href='/portal/p/feedback'>feedback form</a>. When offering feedback or contacting the Help Desk, please mention <strong>MyUW error code MYUW-003</strong>.</p> <p>(Technical detail: HTTP status code 404 NOT FOUND presented by root servlet context.)</p> </div> <div class="mdl-cell mdl-cell--2-col mdl-cell--1-col-phone"></div> -- GitLab