- Issue created by @jeffschuler
- Status changed to Needs review
over 1 year ago 3:57am 14 May 2023 - last update
over 1 year ago 29,388 pass - Status changed to Needs work
over 1 year ago 8:51am 19 May 2023 - 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
Can we add tests to prove the bug exists and that this fixes it?
- Status changed to Needs review
over 1 year ago 7:25pm 5 August 2023 - 🇺🇸United States jeffschuler Boulder, Colorado
@borisson_: I understand why you're requesting this but I don't believe it's a bug that deserves tests and it doesn't result in incorrect output. It's just a logical error that results in unnecessary over-processing.
This:
foreach (static::$uriAttributes as $attr) {
loops over each of the attributes in this array:
protected static $uriAttributes = ['href', 'poster', 'src', 'cite', 'data', 'action', 'formaction', 'srcset', 'about'];
For each of these attributes the current code is looking for all instances of that attribute, and then also looking for all instances of
srcset
, and operating on the value of eachsrcset
it finds.So ... for every attribute ... we'll parse and operate on every
srcset
needlessly. We should only parse for and operate on eachsrcset
once. - Status changed to RTBC
over 1 year ago 5:39pm 11 August 2023 - 🇺🇸United States smustgrave
Refactor makes sense. This could probably be considered a task as it's an improvement over a bug. Will see what the committers think!
- last update
over 1 year ago 29,958 pass - last update
over 1 year ago 29,958 pass - last update
over 1 year ago 29,959 pass - last update
over 1 year ago 30,040 pass, 2 fail The last submitted patch, 2: core-transform_rel_to_absolute_srcset-3360220-2.patch, failed testing. View results →
- last update
over 1 year ago 30,044 pass - 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
- last update
over 1 year ago 30,049 pass - last update
over 1 year ago 30,056 pass - last update
over 1 year ago 30,055 pass, 1 fail The last submitted patch, 2: core-transform_rel_to_absolute_srcset-3360220-2.patch, failed testing. View results →
- last update
over 1 year ago 30,060 pass - last update
over 1 year ago 30,060 pass - last update
over 1 year ago 30,098 pass - last update
over 1 year ago 30,134 pass - last update
over 1 year ago 30,135 pass - last update
over 1 year ago 30,124 pass, 2 fail The last submitted patch, 2: core-transform_rel_to_absolute_srcset-3360220-2.patch, failed testing. View results →
- last update
over 1 year ago 30,146 pass - last update
over 1 year ago 30,150 pass - last update
over 1 year ago 30,158 pass - last update
over 1 year ago 30,161 pass - last update
over 1 year ago 30,168 pass - last update
over 1 year ago 30,168 pass - last update
over 1 year ago 30,205 pass - last update
over 1 year ago 30,204 pass, 2 fail The last submitted patch, 2: core-transform_rel_to_absolute_srcset-3360220-2.patch, failed testing. View results →
- last update
over 1 year ago 30,360 pass - last update
over 1 year ago 30,360 pass - last update
over 1 year ago 30,360 pass - Status changed to Fixed
over 1 year ago 7:40am 2 October 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Oops! I introduced this bug ~7 years ago in #88183: Relative URLs in feeds should be converted to absolute ones → 😇 Thanks, @jeffschuler!
- 🇺🇸United States jeffschuler Boulder, Colorado
@Wim Leers your amount of productive output deserves a few mistakes. At least it wasn't causing any problems!
Thanks all for seeing this through.
Automatically closed - issue fixed for 2 weeks with no activity.