0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/ghost
Simon Backx 4d54880113
Added error handling for ENAMETOOLONG import error (#16054)
fixes https://github.com/TryGhost/Team/issues/2200

When zipping a folder that contains files with UTF-8 characters in the filename, using the MacOS Archive Utility, the resulting zip will be missing some UTF-8 configuration bit. This breaks the unzipper, causing it to decode the filenames using the wrong encodign.

When the file names are long, and become longer than the length allowed by the OS, an ENAMETOOLONG error is thrown. This error is not handled by the importer, and causes the import to fail.

This adds a specific check for this error so we can show a clear error message to the user, that helps them to resolve the issue. We are currently unable to fix the issue on our side, because of a lack of well supported zip libraries for node.
2023-01-18 13:28:36 +01:00
..
adapter-manager Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
admin Added error handling for ENAMETOOLONG import error (#16054) 2023-01-18 13:28:36 +01:00
api-framework Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
api-version-compatibility-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
audience-feedback Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
bootstrap-socket Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
constants Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
core Added error handling for ENAMETOOLONG import error (#16054) 2023-01-18 13:28:36 +01:00
custom-theme-settings-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
data-generator Update dependency knex to v2.4.1 2023-01-18 07:43:07 +01:00
domain-events Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
email-analytics-provider-mailgun Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
email-analytics-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
email-content-generator Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
email-events Added 100% test coverage for EmailEventStorage 2023-01-10 16:36:41 +01:00
email-service Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
email-suppression-list Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
express-dynamic-redirects Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
extract-api-key
html-to-plaintext Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
importer-revue Updated Koenig packages 2023-01-04 11:27:39 +01:00
job-manager Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
link-redirects Update dependency @types/express to v4.17.15 2022-12-14 07:33:05 +07:00
link-replacer Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
link-tracking Lowered threshold for link-tracking coverage 2023-01-04 11:27:39 +01:00
magic-link Update dependency @types/nodemailer to v6.4.7 2023-01-03 18:46:57 +01:00
mailgun-client Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
member-attribution Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
member-events Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
members-api Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
members-csv Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
members-events-service Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
members-importer Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
members-ssr Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
minifier Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-api-version-mismatch Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-cache-control Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-error-handler Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-session-from-token Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-update-user-last-seen Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-vhost Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
oembed-service Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
offers Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
package-json Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
payments Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
portal Updated guard for site data in Portal 2023-01-13 21:01:58 +05:30
referrers Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
security Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
session-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
settings-path-manager Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
staff-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
stats-service Update dependency knex to v2.4.1 2023-01-18 07:43:07 +01:00
stripe Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
tiers Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
update-check-service Reverted "Added version information to log lines" 2023-01-17 13:20:47 +01:00
verification-trigger Improved email verification required checks (#16060) 2023-01-04 11:22:12 +01:00
version-notifications-data-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
webmentions Added initial basic Mentions implementation 2023-01-17 17:01:20 +07:00