diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..1b6a907d8165eff8e6159f4596806cea92086729 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +# Root context and error valve change log + +## 1.1.16 + ++ 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 + +Prior versions exist, but they predate this change log. diff --git a/myuw-root-webapp/src/main/webapp/403.html b/myuw-root-webapp/src/main/webapp/403.html index 632746b23add58b629432b8504494363ee276f90..e815793047bcab3ca5bf396b0fc37a820ccae07b 100644 --- a/myuw-root-webapp/src/main/webapp/403.html +++ b/myuw-root-webapp/src/main/webapp/403.html @@ -17,7 +17,7 @@ <img src="/main_logo_w_all.png" alt="University of Wisconsin System Logo" class="uw-logo"> </div> <!-- Title --> - <h1 class="mdl-layout-title outage-title">Access Denied</h1> + <h1 class="mdl-layout-title outage-title">MYUW-002 Access Denied</h1> </div> </header> <main class="mdl-layout__content content-centered"> @@ -26,8 +26,12 @@ <div class="mdl-cell mdl-cell--8-col mdl-cell--10-col-phone"> <img src="/alert-icon.png" alt="Line art image of an exclamation mark inside of a triangle" class="alert-icon"> <h2 class="mr-title">Sorry, you're not authorized to access this page.</h2> - <p>If you're here by accident, head back to your MyUW <a href='/web'>homepage</a>.</p> - <p>For help with authorization, contact the DoIT <a href="https://kb.wisc.edu/helpdesk/">Help Desk</a>.</p> + <p>MyUW determined you're not authorized to access the requested page.</p> + <p>This could be because you're really not authorized. If that's the case, trying again will not help.</p> + <p>Or it could be because your session timed out or MyUW otherwise got confused. If so, sorry! And trying again may well work for you.</p> + <p>Next, you can head back to your MyUW <a href='/web'>homepage</a>.</p> + <p>For help with authorization, contact the DoIT <a href="https://kb.wisc.edu/helpdesk/">Help Desk</a>. When contacting the Help Desk, please mention <em>MyUW error code MYUW-002</em>.</p> + <p>(Technical detail: MyUW error code MYUW-002: HTTP status code 403 FORBIDDEN issued by the root servlet context.)</p> </div> <div class="mdl-cell mdl-cell--2-col mdl-cell--1-col-phone"></div> </div> diff --git a/myuw-root-webapp/src/main/webapp/404.html b/myuw-root-webapp/src/main/webapp/404.html index 10975219b44365dbcc8088935d1728c25a8412a5..9596ada2bdf1d62a739976d5fa2aef17bd1a4ec0 100644 --- a/myuw-root-webapp/src/main/webapp/404.html +++ b/myuw-root-webapp/src/main/webapp/404.html @@ -19,7 +19,7 @@ <img src="/main_logo_w_all.png" alt="University of Wisconsin System Logo" class="uw-logo"> </div> <!-- Title --> - <h1 class="mdl-layout-title outage-title">Page Not Found</h1> + <h1 class="mdl-layout-title outage-title">MYUW-003: Page Not Found</h1> </div> </header> <main class="mdl-layout__content content-centered"> @@ -30,7 +30,8 @@ <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>.</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> </div>