UTCWeb / utctiny

URL Shortener with YOURLS
MIT License
0 stars 5 forks source link

404 if not found #86

Closed UTCGilligan closed 4 months ago

UTCGilligan commented 4 months ago

Because default procedure for a non-existent shortcut url is 302 redirect to the main page, our project gets a redirect to CAS login because we have SAML auth, which is not good. It sometimes causes a gateway timeout and sometimes slows down logins for all stuff from this server.

This behavior has gotten worse as go.utc.edu gets more popular.

See #87 for PR and demo.

UTCGilligan commented 4 months ago

Needs more work: breaks QR codes and makes them 404.

See https://github.com/YOURLS/404-if-not-found/issues/1 for suggested fix.