Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require URI for xml namespace #1019

Open
s2b opened this issue Nov 21, 2024 · 0 comments
Open

Require URI for xml namespace #1019

s2b opened this issue Nov 21, 2024 · 0 comments

Comments

@s2b
Copy link
Contributor

s2b commented Nov 21, 2024

Currently, it's still possible to provide a PHP namespace instead of a namespace URI to the <html xmlns...> tag. Since this is not valid XML and an unexpected behavior, we should enforce the URI syntax for xmlns while still allowing the alternative syntax with {namespace xx=...}.

https://github.com/TYPO3/Fluid/blob/main/src/Core/Parser/TemplateProcessor/NamespaceDetectionTemplateProcessor.php#L98

This should be deprecated with Fluid 4 and removed with Fluid 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant