0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
Rish d42d112eba 🐛 Fixed incorrect url generation for post reschedule/unschedule
no issue

The default scheduling generates a known, independent URL for publishing a resource. In case of resource being rescheduled or unscheduled, the adapter expects the the same URL to remove/update existing jobs. The URL includes a JWT token for API auth which is calculated from post model and appended to URL.

There was a bug in token generation which meant If we go to update or delete the job i.e. unschedule a post then a new token is used which means the existing scheduled job cannot be removed. This PR:

- removes issued at (`iat`) timestamp from token generation which lead to a different token being generated for same payload
- Fixes timestamp being used for URL calculation from resource model
2019-11-27 13:38:30 +05:30
..
client@ded09fd151 Updated Ghost-Admin to 3.0.3 2019-11-11 18:55:36 +07:00
frontend 🐛 Fixed error when rendering static page from dynamic route 2019-11-25 18:34:37 +07:00
server 🐛 Fixed incorrect url generation for post reschedule/unschedule 2019-11-27 13:38:30 +05:30
shared/nql-map-key-values 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
test Updated meta/structured data sources & fallbacks (#11068) 2019-11-21 13:08:00 +00:00
index.js