Anthony Burchell
b351a2f058
Media: Account for Windows when normalizing file paths.
...
Previously, Windows paths in the `path_is_absolute` function resulted in incorrect URIs. This patch adjusts for forward slashes and adds tests for the `get_attached_file` function.
Props Whissi, SergeyBiryukov, desrosj, stevenlinx, birgire, davidbaumwald, costdev, peterwilsoncc, audrasjb, hellofromTonya, johnbillion.
Fixes #36308 .
git-svn-id: https://develop.svn.wordpress.org/trunk@53934 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-23 19:57:17 +00:00
..
2021-12-19 13:42:37 +00:00
2021-08-07 10:29:41 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-08-23 19:57:17 +00:00
2021-08-07 10:29:41 +00:00
2020-09-02 00:35:36 +00:00
2020-09-02 00:35:36 +00:00
2021-07-05 17:21:53 +00:00
2021-08-07 10:29:41 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-08-07 10:29:41 +00:00
2017-11-30 23:09:33 +00:00
2021-08-06 21:55:31 +00:00
2021-08-09 19:08:09 +00:00
2021-07-05 17:21:53 +00:00
2021-07-19 14:00:11 +00:00
2021-07-06 15:31:48 +00:00
2021-08-09 19:08:09 +00:00
2021-11-04 15:22:47 +00:00
2018-08-17 01:50:26 +00:00
2021-12-19 13:42:37 +00:00
2022-06-15 14:42:58 +00:00
2021-11-04 15:22:47 +00:00
2022-03-22 16:23:32 +00:00
2020-10-27 16:07:21 +00:00
2021-08-07 10:29:41 +00:00
2021-12-19 13:42:37 +00:00
2022-08-07 14:41:04 +00:00
2022-06-23 14:24:08 +00:00
2021-11-04 15:22:47 +00:00
2022-06-04 13:39:17 +00:00
2022-04-11 05:09:53 +00:00
2022-06-10 15:15:07 +00:00
2022-06-10 15:15:07 +00:00
2021-08-26 12:57:08 +00:00
2021-11-04 15:22:47 +00:00
2021-11-17 03:23:40 +00:00
2022-08-11 19:58:21 +00:00
2021-11-04 15:22:47 +00:00
2020-11-15 13:59:32 +00:00
2022-04-11 05:09:53 +00:00
2022-07-26 14:28:57 +00:00
2021-11-04 15:22:47 +00:00