1. 30 Sep, 2010 3 commits
    • Brion Vibber's avatar
      Fix for OpenID-only private sites: we were removing the 'login' and 'register'... · 93bea7ff
      Brion Vibber authored
      Fix for OpenID-only private sites: we were removing the 'login' and 'register' actions from the routing system entirely, which meant that login links & redirects from unauthenticated views on private sites (as well as various re-auth situations even on non-private sites) would break and send to the main page instead.
      
      Changed it to leave the 'login' and 'register' actions in the system; we're already taking them over and redirecting them to the OpenID login page, so they won't be reached by accident; but now those redirects can be reached on purpose. ;)
      Better long-term fix may be to allow some aliasing, so we can have common_local_url('login') actually send us straight to the OpenID login page instead of having to go through an intermediate redirect, but this'll do.
      93bea7ff
    • Brion Vibber's avatar
    • Brion Vibber's avatar
      Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit... · 1acc7d66
      Brion Vibber authored
      Always specify UTF-8 targt charset for html_entity_decode(); default is 8-bit ISO-8859-1 which causes things to break when we later pass them through things that expect to work with UTF-8. For instance, running through preg_replace() with the /u option results in NULL, leading to problems with OStatus and SubMirror generating their plaintext versions and doing length-cropping.
      1acc7d66
  2. 29 Sep, 2010 2 commits
  3. 28 Sep, 2010 35 commits