{"action":"created","issue":{"url":"https://api.github.com/repos/bwood/ucberkeley_cas-7/issues/45","labels_url":"https://api.github.com/repos/bwood/ucberkeley_cas-7/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/bwood/ucberkeley_cas-7/issues/45/comments","events_url":"https://api.github.com/repos/bwood/ucberkeley_cas-7/issues/45/events","html_url":"https://github.com/bwood/ucberkeley_cas-7/issues/45","id":117195279,"number":45,"title":"OPENUCB-332: /CAS doesn't work the same as /cas","user":{"login":"bwood","id":185537,"avatar_url":"https://avatars.githubusercontent.com/u/185537?v=3","gravatar_id":"","url":"https://api.github.com/users/bwood","html_url":"https://github.com/bwood","followers_url":"https://api.github.com/users/bwood/followers","following_url":"https://api.github.com/users/bwood/following{/other_user}","gists_url":"https://api.github.com/users/bwood/gists{/gist_id}","starred_url":"https://api.github.com/users/bwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwood/subscriptions","organizations_url":"https://api.github.com/users/bwood/orgs","repos_url":"https://api.github.com/users/bwood/repos","events_url":"https://api.github.com/users/bwood/events{/privacy}","received_events_url":"https://api.github.com/users/bwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-16T19:05:02Z","updated_at":"2015-11-30T23:50:41Z","closed_at":null,"body":"@honzi here's a pretty simple one:\r\n\r\n> Adding /cas to the end of an Open Berkeley URL in order to log in appears to be case-sensitive.\r\nFrom email thread with OB client on 6/16/14, 4:16pm:\r\nI was curious as to why Kate was only able to log in to the Procurement site when she clicked on the link I provided in my email, so I checked the link she provided in her first email, which is presumably how she has been attempting to log in:\r\nprocurement.berkeley.edu/CAS\r\nInstead of: http://procurement.berkeley.edu/cas\r\nClicking on the /CAS link (in all uppercase, with or without http://) in a browser where I am not logged in results in me being brought directly back to the home page without successfully logging in. Clicking on the /CAS link in a browser where I am logged in brings me to \"Access Denied\" page (I remain logged in to the site as normal).\r\n\r\nThe quick fix is to add an update hook to ucberkeley_cas.install that would create a url alias the same way we create the alias 'caslogout' --> 'user/logout'. This alias would do a 301 redirect of '/CAS' to '/cas'.  I tested that manually in Chrome, FF, Safari and it works fine.\r\n\r\nExtra credit:  Why is this path case sensitive?  The answer is probably held in cas.module or phpCAS. Should we consider submitting a patch to https://www.drupal.org/project/cas?"},"comment":{"url":"https://api.github.com/repos/bwood/ucberkeley_cas-7/issues/comments/160801420","html_url":"https://github.com/bwood/ucberkeley_cas-7/issues/45#issuecomment-160801420","issue_url":"https://api.github.com/repos/bwood/ucberkeley_cas-7/issues/45","id":160801420,"user":{"login":"bwood","id":185537,"avatar_url":"https://avatars.githubusercontent.com/u/185537?v=3","gravatar_id":"","url":"https://api.github.com/users/bwood","html_url":"https://github.com/bwood","followers_url":"https://api.github.com/users/bwood/followers","following_url":"https://api.github.com/users/bwood/following{/other_user}","gists_url":"https://api.github.com/users/bwood/gists{/gist_id}","starred_url":"https://api.github.com/users/bwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwood/subscriptions","organizations_url":"https://api.github.com/users/bwood/orgs","repos_url":"https://api.github.com/users/bwood/repos","events_url":"https://api.github.com/users/bwood/events{/privacy}","received_events_url":"https://api.github.com/users/bwood/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T23:50:41Z","updated_at":"2015-11-30T23:50:41Z","body":"Great!  If you submit a patch, please paste the url to your issue here.  I'll test and hopefully add Drupal's RTBC status."}}