0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Fabien O'Carroll 4fcf313816 Fixed subscribers app when missing location
no-issue

The previous version of url-utils's absoluteToRelative function had some
implicit behaviour that was relied on here. Namely that when passed an
empty string as the url AND the withoutSubdirectory option set to true,
we would end up calling the `replace` method on `null` - this would
throw an error and cause the subscribers app to enter the error handling
- which was desired behaviour.

This updates to explicitly check, and execute the error handling based
on the missing location property.
2019-08-13 13:10:27 +08:00
..
client@e0f3d90fad Updated Ghost-Admin to 2.27.0 2019-08-06 17:34:38 +08:00
frontend Fixed subscribers app when missing location 2019-08-13 13:10:27 +08:00
server Fixed canary api for page/type column 2019-08-13 13:10:27 +08:00
shared/nql-map-key-values Added shared nql-map-key-values module 2019-08-12 18:41:43 +08:00
test Improved naming for regression tests 2019-08-13 13:10:27 +08:00
index.js