- 🐛 Fixed invalid token handling in members - Hannah Wolfe
See the changelogs for Ghost and Ghost-Admin for the details of every change in this release.
Tag Name: 3.15.2
Release Date: 5/7/2020
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This patch release addresses issues with how invalid member tokens are handled, restoring the expected behavior from Ghost 3.14. It also improves API error handling by increasing route specificity to ensure errors are properly displayed. These fixes are essential for sites using the members functionality to ensure a smooth user experience when dealing with authentication tokens.
No migration steps are required for this patch release. The update restores expected behavior from previous versions and fixes issues without introducing breaking changes.
Simply update to Ghost 3.15.2 to benefit from these fixes.
This is a recommended upgrade for all Ghost installations, especially those using the members functionality. The fixes for token handling and API error management address important usability issues that could affect member experience.
The patch is small in scope with minimal changes (42 changes across 4 files), making it a low-risk update that resolves specific issues without introducing new features or breaking changes.
/members/ with no route now correctly renders a 404 error/members/ with a route properly renders the members template/members/?token=invalidtoken&foo=bar now correctly redirects to /?foo=bar/members/?token=validtoken&foo=bar now correctly redirects to /?foo=barNo new features were introduced in this patch release. This update focuses on bug fixes and improvements to existing functionality.
No explicit security fixes were mentioned in this release. However, the improvements to token handling and error management contribute to a more secure and predictable authentication flow for members.
No specific performance improvements were included in this patch release. The focus was on fixing bugs related to member token handling and API error management.
Ghost 3.15.2 is a targeted patch release that addresses specific issues with member token handling and API error management. The impact is primarily positive for sites using the members functionality, as it restores expected behavior and improves error handling.
The changes ensure that when members interact with the site using valid or invalid tokens, they'll experience the correct redirects and error pages. Additionally, API errors will now be properly handled by the theme rather than returning JSON responses in certain scenarios, providing a better user experience.
This release demonstrates Ghost's commitment to maintaining a stable and reliable platform, quickly addressing issues that affect core functionality like member authentication.
See the changelogs for Ghost and Ghost-Admin for the details of every change in this release.