github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2021-04-17 11:37 pm

[dreamwidth/dw-free] 1d8f17: Fix login/logout redirect glitches on newer browsers

Branch: refs/heads/master Home: https://github.com/dreamwidth/dw-free Commit: 1d8f17156261bfa7d20a0a11476c00b50953d8c9 https://github.com/dreamwidth/dw-free/commit/1d8f17156261bfa7d20a0a11476c00b50953d8c9 Author: Cocoa momijizukamori@gmail.com Date: 2021-04-17 (Sat, 17 Apr 2021)

Changed paths: M cgi-bin/DW/Controller/Auth.pm M cgi-bin/DW/Template.pm M cgi-bin/LJ/Web.pm M schemes/common.tt M views/journal/controlstrip.tt

Log Message:


Fix login/logout redirect glitches on newer browsers

  • Remove reliance on referrer-sniffing for logouts
  • Use 'returnto' form field in logout post for proper redirecting
  • Set 'returnto' field properly in journal control-strip
  • Set 'returnto' field properly in Foundationized site-scheme pages

Fixes #2868

Commit: 950b1e9777e6f814fa518e74831943c3f98d7df6 https://github.com/dreamwidth/dw-free/commit/950b1e9777e6f814fa518e74831943c3f98d7df6 Author: Cocoa momijizukamori@gmail.com Date: 2021-04-17 (Sat, 17 Apr 2021)

Changed paths: M cgi-bin/DW/Template.pm M schemes/common.tt M views/login.tt

Log Message:


HTML-escape the returnto fields

Compare: https://github.com/dreamwidth/dw-free/compare/96ead89ce2d4...950b1e9777e6