#105799remove `xlink:` from `a`-& `svg`-tags
Description
w/o https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/href#svg.elements.use.href
old https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href#browser_compatibility
/( xmlns:)?xlink:?(="[^"]+")?/
ref. https://github.com/search?q=repo%3ATYPO3%2Ftypo3+%2F%3A%3Fxlink%3A%3F%2F&type=code
fyi/ there are also remnants of ` RegEx will remove these too
ref. https://github.com/search?q=repo%3ATYPO3%2Ftypo3+%22a+xlink%3A%22&type=code
Reviews 1
History 914
-
Garvin Hicking changed category <span data-processor="relativetime" data-value="2024-12-10T14:41:54+00:00" > 12/10/24, 14:41 </span>
-
Marcus Förster changed subject
remove `xlink:` from `<svg>`-tagsremove `xlink:` from `a`-& `svg`-tags description <span data-processor="relativetime" data-value="2025-03-16T11:35:05+00:00" > 03/16/25, 11:35 </span> -
Garvin Hicking commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2025-03-16T13:01:31+00:00" > 03/16/25, 13:01 </span> -
Marcus Förster commented <span data-processor="relativetime" data-value="2025-03-16T13:12:54+00:00" > 03/16/25, 13:12 </span>
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the top of the description of the ticket to guide your decision. Be aware that this feature may cease to work at any time.
-
Garvin Hicking commented <span data-processor="relativetime" data-value="2025-05-23T11:58:34+00:00" > 05/23/25, 11:58 </span>
That seems to be a quote, could you please provide more details, what is your proposal/request?
-
Marcus Förster commented <span data-processor="relativetime" data-value="2025-05-23T12:06:24+00:00" > 05/23/25, 12:06 </span>
Garvin Hicking wrote in #note-5:
> That seems to be a quote, could you please provide more details, what is your proposal/request?use the regex to remove all occurencies
-
Garvin Hicking commented <span data-processor="relativetime" data-value="2025-05-23T12:18:17+00:00" > 05/23/25, 12:18 </span>
It would be great if we could communicate in full sentences here. Otherwise I’m not really able to help, it’s a bit likegetting blood out of a stone ;-)
At which place would you want to remove this? With a full middleware maybe? That could be a custom implementation or a public extension for it. Generally scrubbing output in the TYPO3 core is IMO not something we should hook into. Unless there’s some general scrubbing place existing, which I’m then not aware of.
Or is TYPO3 generating an xlink: on its own somewhere? If so, where?
-
Marcus Förster commented <span data-processor="relativetime" data-value="2025-05-23T12:28:18+00:00" > 05/23/25, 12:28 </span>
its not about someone-elses-impl. but TYPO3 ; https://github.com/search?q=repo%3ATYPO3%2Ftypo3%20xlink%3A&type=code (already liked int the DESCRTIPTION)
-
Garvin Hicking changed Duplicates #108712 <span data-processor="relativetime" data-value="2026-01-21T16:14:43+00:00" > 01/21/26, 16:14 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 92441 status
Needs FeedbackUnder Review <span data-processor="relativetime" data-value="2026-01-21T16:15:41+00:00" > 01/21/26, 16:15 </span> -
Gerrit Code Review pushed patch set 3 for main to change 92441 <span data-processor="relativetime" data-value="2026-01-21T21:20:14+00:00" > 01/21/26, 21:20 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 92441 <span data-processor="relativetime" data-value="2026-01-21T21:23:59+00:00" > 01/21/26, 21:23 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 92441 <span data-processor="relativetime" data-value="2026-01-24T22:54:25+00:00" > 01/24/26, 22:54 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 92441 <span data-processor="relativetime" data-value="2026-11-11T11:05:49+00:00" > 11/11/26, 11:05 </span>
Could you please write a few sentences about this, explaining motivations and problems behind it? Thanks!