awaae
6a17e00439
fix(sharing): resolve missing base path for thumbnails in shared links ( #3194 )
...
* fix(sharing): resolve missing base path for thumbnails in shared links
- Fix the issue where thumbnail URLs in generated shares lacked the correct `/sd` prefix.
- Define `ThumbnailBaseURLKey` context key in configuration constants.
- Pass thumbnail base URL context with shared link path and password in sharing list handler.
- Use context thumbnail base URL when constructing thumbnail URLs in the local driver.
- Include thumbnail base URL in singleflight list key for storages with cache disabled.
Relates - https://github.com/OpenListTeam/OpenList/issues/3165
* refactor(local): simplify thumbnail URL construction
- Combine conditional checks for thumbnail support in local driver
- Standardize thumbnail URL formatting by using a fallback `url.URL` struct
- Flatten conditional checks for flightKey thumbnail URL in list operation
2026-10-20 22:23:51 +08:00
..
2026-08-29 01:27:00 +08:00
2026-09-21 10:38:14 +08:00
2026-07-16 09:49:29 +08:00
2026-10-20 11:12:10 +08:00
2025-12-03 00:55:40 +08:00
2026-04-03 15:23:26 +08:00
2026-06-30 10:36:17 +08:00
2026-10-15 22:18:40 +08:00
2026-10-20 11:12:10 +08:00
2026-09-05 00:12:20 +08:00
2026-10-10 11:00:58 +08:00
2026-09-21 16:54:12 +08:00
2026-06-22 14:40:59 +08:00
2026-09-15 23:13:10 +08:00
2026-01-08 10:47:22 +08:00
2026-09-24 12:01:50 +08:00
2025-08-10 09:55:20 +08:00
2026-01-17 20:08:32 +08:00
2026-07-08 11:56:10 +08:00
2026-06-16 13:49:24 +08:00
2026-06-16 13:49:24 +08:00
2025-12-04 09:54:14 +08:00
2026-07-23 19:29:53 +08:00
2026-10-20 11:12:10 +08:00
2026-06-25 00:37:04 +08:00
2026-06-30 16:26:35 +08:00
2026-04-26 15:17:40 +08:00
2026-05-03 19:10:31 +08:00
2025-12-03 00:55:40 +08:00
2026-07-28 13:18:34 +08:00
2026-01-08 10:47:22 +08:00
2025-12-04 09:54:14 +08:00
2026-05-27 16:49:26 +08:00
2026-01-01 22:29:03 +08:00
2025-12-04 09:54:14 +08:00
2026-08-19 20:11:08 +08:00
2025-10-19 22:45:40 +08:00
2026-06-19 22:44:30 +08:00
2026-08-29 01:31:11 +08:00
2026-07-15 14:19:56 +08:00
2026-10-20 11:12:10 +08:00
2026-10-20 11:12:10 +08:00
2026-09-05 12:11:51 +08:00
2025-07-12 17:57:54 +08:00
2026-01-08 10:47:22 +08:00
2026-08-29 01:17:04 +08:00
2025-07-12 17:57:54 +08:00
2025-07-12 17:57:54 +08:00
2026-10-20 11:12:10 +08:00
2026-05-04 13:05:07 +08:00
2026-10-20 22:23:51 +08:00
2026-06-22 14:37:44 +08:00
2025-08-11 23:41:22 +08:00
2026-01-08 10:47:22 +08:00
2025-11-21 12:18:54 +08:00
2026-01-08 10:47:22 +08:00
2025-12-03 00:55:40 +08:00
2026-10-10 11:39:23 +08:00
2026-01-08 10:47:22 +08:00
2026-08-29 01:10:01 +08:00
2026-04-03 15:41:25 +08:00
2025-12-03 00:55:40 +08:00
2026-09-24 01:29:56 +08:00
2025-07-12 17:57:54 +08:00
2026-01-08 10:47:22 +08:00
2025-12-04 09:54:14 +08:00
2026-05-03 19:10:31 +08:00
2026-02-08 21:15:00 +08:00
2026-10-10 11:44:49 +08:00
2026-01-25 17:00:32 +08:00
2026-06-16 13:40:57 +08:00
2026-06-22 14:37:44 +08:00
2026-08-29 01:20:44 +08:00
2025-07-01 09:54:50 +08:00
2026-09-24 01:46:35 +08:00
2025-10-18 21:47:18 +08:00
2025-12-03 00:55:40 +08:00
2026-06-18 23:17:24 +08:00
2026-06-18 23:17:24 +08:00
2026-06-18 23:17:24 +08:00
2026-06-24 19:09:45 +08:00
2025-12-03 00:55:40 +08:00
2025-10-18 21:47:18 +08:00
2026-06-22 14:37:44 +08:00
2026-01-08 10:47:22 +08:00
2026-10-20 20:38:39 +08:00
2026-07-06 12:23:12 +08:00
2025-12-04 09:54:14 +08:00
2026-08-04 11:34:56 +08:00