Skip to content

Conversation

@basantashubhu
Copy link

I recently ran into a problem where appendable attribute does not escape it's value AppendableAttributeValue cause the function shouldEscapeAttributeValue returns false if it is an object. So, checked the value if it is an instance of AppendableAttributeValue and then get the actual value for escaping.

if ($value instanceof AppendableAttributeValue) {
    return $this->shouldEscapeAttributeValue($escape, $value->value);
}

@basantashubhu basantashubhu changed the title fix escaping of AppendableAttributeValue [12.x] Fix escaping of AppendableAttributeValue Dec 18, 2025
@basantashubhu basantashubhu marked this pull request as draft December 18, 2025 17:47
@basantashubhu basantashubhu deleted the patch-2 branch December 19, 2025 07:02
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

Successfully merging this pull request may close these issues.

1 participant