Skip to content
Snippets Groups Projects
  1. Dec 20, 2018
  2. Dec 19, 2018
  3. Dec 18, 2018
  4. Dec 17, 2018
  5. Dec 14, 2018
  6. Dec 13, 2018
  7. Dec 12, 2018
  8. Dec 11, 2018
  9. Dec 03, 2018
  10. Nov 30, 2018
  11. Nov 29, 2018
  12. Nov 28, 2018
  13. Nov 26, 2018
  14. Nov 15, 2018
  15. Nov 13, 2018
    • cedelis's avatar
      Don't lose followup URL due to mistyped credentials (#1269) · 2048d05c
      cedelis authored
      If a user accidentally mistypes their login credentials, they are not returned to the page they were on after successfully logging in via ILS Authentication. There already exists a similar fix for when a non-logged-in user goes to MyResearch/Home (which initiates the login challenge page). This bug fix adds one for MyResearch/UserLogin, too, which is linked to in themes/bootstrap3/templates/header.phtml
      
          Note: Links to MyResearch/UserLogin can have parameters, e.g., UserLogin?method=ILS,
          which is why I perform a substring test here:
      
              if (0 === strpos($refererNorm, $mulNorm)) {
      
           instead of testing for equality:
      
              if ($refererNorm === $mulNorm) {
      2048d05c